40 #include <femMisc.hpp>
74 FEM( femMeshPtr = 0,
int quadra = 0 );
88 creal deriv (
int m,
creal * f,
int ksolv,
int i);
114 void initvarmat (
int how,
int flagcomplexe,
int N,
fcts* param);
115 void assemble (
int how,
int flagcomplexe,
int N,
int k,
creal* a,
creal* b,
fcts* param);
116 void solvevarpde(
int N,
fcts* param,
int how);
122 float norm(
float,
float )
const;
125 int Tconvect (
int k,
double u1k,
double u2k,
double x,
double y,
double *mu,
double *nu);
126 int xtoX (
creal * u1,
creal * u2,
float *dt,
float *x,
float *y,
int *k);
127 int barycoor (
float x,
float y,
int k,
float *xl0,
float *xl1,
float *xl2);
130 void connectiv (
void);
139 float gaussband (
Acmat & a,
Acvect & x,
long n,
long bdth,
int first,
float eps);
155 void rhsPDE(
float* fw,
float* f,
float* g);
164 float gaussband (
float* a,
float* x,
long n,
long bdthl,
int first,
float eps);
166 void pdemat (
float* a,
float* alpha,
167 float* rho11,
float* rho12,
float* rho21,
float* rho22,
168 float* u1,
float* u2,
float* beta);
175 float pdeian(
float* a,
float* u,
float* f,
float* g,
float* u0,
176 float* alpha,
float* rho11,
float* rho12,
float* rho21,
float* rho22,
177 float* u1,
float* u2,
float* beta,
int factorize);
183 float gaussband (
creal* a,
creal* x,
long n,
long bdthl,
int first,
float eps);
196 creal binteg_t (
int k,
int ref1,
int ref2,
int ref3,
creal* f,
creal* g);
Definition: femMisc.hpp:342
#define DECLARE_CLASS(tag)
Declare class , class pointer , const pointer, class reference and const class reference types for cl...
Definition: femCommon.hpp:64
float femPoint[2]
node type
Definition: femMesh.hpp:67
this class drives the resolution of the pde using the Finite Element Method.
Definition: femSolver.hpp:55
Definition: femMisc.hpp:377
Definition: femDisk.cpp:50
~FEM()
destructor
Definition: femSolver.cpp:122
Definition: femMisc.hpp:175
Definition: femMisc.hpp:212
DECLARE_TYPE(femMesh::femPoint, femPoint)
Typedefs.
long femTriangle[3]
cell type
Definition: femMesh.hpp:70
Definition: femMisc.hpp:357
float solvePDE(fcts *param, int how)
solve the PDE
Definition: femSolver.cpp:1000
Definition: femMisc.hpp:86
FEM(femMeshPtr=0, int quadra=0)
Constructors, destructor and methods.
Definition: femSolver.cpp:71
provide a pool for all the PDE data
Definition: femDisk.hpp:62
int getregion(int k)
Definition: femSolver.cpp:1276