template class for the different solvers template parameter DIM_PROBLEM: dimensionnality of the problem to solve
More...
#include <solver.h>
|
| template<int N> |
| void | buildMat (std::vector< int > &ind, Eigen::Matrix< double, DIM_PROBLEM *N, DIM_PROBLEM *N > &Ke, algebra::w_sparseMat &K) |
| |
| template<int N> |
| void | buildVect (std::vector< int > &ind, std::vector< double > &Le, std::vector< double > &L) |
| |
|
| static const int | DIM_PB = DIM_PROBLEM |
| |
template<int DIM_PROBLEM>
class solver< DIM_PROBLEM >
template class for the different solvers template parameter DIM_PROBLEM: dimensionnality of the problem to solve
◆ solver()
template<int DIM_PROBLEM>
constructor
- Parameters
-
| [in] | _msh | mesh |
| [in] | _pTetra | ref to vector of param tet (volume region parameters) |
| [in] | _pFac | ref to vector of param fac (surface region parameters) |
| [in] | name | name of the solver method |
| [in] | _tol | solver tolerance |
| [in] | v | verbose mode for iteration monitor |
| [in] | max_iter | maximum number of iterations |
◆ buildMat()
template<int DIM_PROBLEM>
template<int N>
| void solver< DIM_PROBLEM >::buildMat |
( |
std::vector< int > & |
ind, |
|
|
Eigen::Matrix< double, DIM_PROBLEM *N, DIM_PROBLEM *N > & |
Ke, |
|
|
algebra::w_sparseMat & |
K |
|
) |
| |
|
inlineprotected |
function template. parameter N is the number of indices of the element to build matrix from: ind.size() = N
◆ buildVect()
template<int DIM_PROBLEM>
template<int N>
| void solver< DIM_PROBLEM >::buildVect |
( |
std::vector< int > & |
ind, |
|
|
std::vector< double > & |
Le, |
|
|
std::vector< double > & |
L |
|
) |
| |
|
inlineprotected |
function template. parameter N is the number of indices of the element to build vector from
◆ DIM_PB
template<int DIM_PROBLEM>
| const int solver< DIM_PROBLEM >::DIM_PB = DIM_PROBLEM |
|
staticprotected |
dimensionnality of the problem
◆ iter
template<int DIM_PROBLEM>
monitor the solver called in method solve()
◆ msh
template<int DIM_PROBLEM>
mesh pointer to access nodes, fac, tet, and others geometrical values and methods
◆ NOD
template<int DIM_PROBLEM>
| const int solver< DIM_PROBLEM >::NOD |
|
protected |
number of nodes in the mesh
◆ paramFac
template<int DIM_PROBLEM>
this vector contains the material parameters for all surface regions for all the triangular facettes
◆ paramTet
template<int DIM_PROBLEM>
this vector contains the material parameters for all volume regions for all the tetrahedrons
The documentation for this class was generated from the following file: