Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
eigenv_private.h
Go to the documentation of this file.
1/* =============================================================================
2** This file is part of the mmg software package for the tetrahedral
3** mesh modification.
4** Copyright (c) Bx INP/CNRS/Inria/UBordeaux/UPMC, 2004-
5**
6** mmg is free software: you can redistribute it and/or modify it
7** under the terms of the GNU Lesser General Public License as published
8** by the Free Software Foundation, either version 3 of the License, or
9** (at your option) any later version.
10**
11** mmg is distributed in the hope that it will be useful, but WITHOUT
12** ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13** FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
14** License for more details.
15**
16** You should have received a copy of the GNU Lesser General Public
17** License and of the GNU General Public License along with mmg (in
18** files COPYING.LESSER and COPYING). If not, see
19** <http://www.gnu.org/licenses/>. Please read their terms carefully and
20** use this copy of the mmg distribution only if you accept them.
21** =============================================================================
22*/
23
24#ifndef MMGEIGENV_H
25#define MMGEIGENV_H
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
31#define MMG5_EPSD 1.e-30
32#define MMG5_EPS 1.e-06
33
34int MMG5_eigenv3d(int symmat,double *mat,double lambda[3],double v[3][3]);
35int MMG5_eigenv2d(int symmat,double *mat,double lambda[2],double v[2][2]);
36int MMG5_eigen2(double *mm,double *lambda,double vp[2][2]);
37extern int MMG5_eigensym(double m[3],double lambda[2],double vp[2][2]);
38
39#ifdef __cplusplus
40}
41#endif
42
43#endif
int MMG5_eigensym(double m[3], double lambda[2], double vp[2][2])
Definition: eigenv.c:973
int MMG5_eigen2(double *mm, double *lambda, double vp[2][2])
Find eigenvalues and vectors of a 2x2 matrix.
Definition: eigenv.c:858
int MMG5_eigenv3d(int symmat, double *mat, double lambda[3], double v[3][3])
Find eigenvalues and vectors of a 3x3 matrix.
Definition: eigenv.c:385
int MMG5_eigenv2d(int symmat, double *mat, double lambda[2], double v[2][2])
Find eigenvalues and vectors of a 2x2 matrix.
Definition: eigenv.c:780