svFSIplus
|
Public Member Functions | |
void | alloc (ComMod &com_mod, eqType &lEq) |
Allocate Trilinos arrays. More... | |
void | assemble (ComMod &com_mod, const int num_elem_nodes, const Vector< int > &eqN, const Array3< double > &lK, const Array< double > &lR) |
Assemble local element arrays. More... | |
void | initialize (ComMod &com_mod) |
Initialze an array used for something. More... | |
void | solve (ComMod &com_mod, eqType &lEq, const Vector< int > &incL, const Vector< double > &res) |
Solve a system of linear equations assembled by fsils. More... | |
void | solve_assembled (ComMod &com_mod, eqType &lEq, const Vector< int > &incL, const Vector< double > &res) |
Solve a system of linear equations assembled by Trilinos. More... | |
void | init_dir_and_coup_neu (ComMod &com_mod, const Vector< int > &incL, const Vector< double > &res) |
Set data for Dirichlet and coupled Neumann boundary conditions. More... | |
void | set_preconditioner (consts::PreconditionerType preconditioner) |
Set the preconditioner. More... | |
void | alloc (ComMod &com_mod, eqType &lEq) |
void | assemble (ComMod &com_mod, const int num_elem_nodes, const Vector< int > &eqN, const Array3< double > &lK, const Array< double > &lR) |
void | initialize (ComMod &com_mod) |
void | set_preconditioner (consts::PreconditionerType prec_type) |
void | solve (ComMod &com_mod, eqType &lEq, const Vector< int > &incL, const Vector< double > &res) |
void | solve_assembled (ComMod &com_mod, eqType &lEq, const Vector< int > &incL, const Vector< double > &res) |
Public Attributes | |
consts::PreconditionerType | preconditioner_ |
Vector< int > | ltg_ |
Local to global mapping. More... | |
Array< double > | W_ |
Factor for Dirichlet BCs. More... | |
Array< double > | R_ |
Residual. More... | |
Allocate Trilinos arrays.
void TrilinosLinearAlgebra::TrilinosImpl::assemble | ( | ComMod & | com_mod, |
const int | num_elem_nodes, | ||
const Vector< int > & | eqN, | ||
const Array3< double > & | lK, | ||
const Array< double > & | lR | ||
) |
Assemble local element arrays.
void TrilinosLinearAlgebra::TrilinosImpl::init_dir_and_coup_neu | ( | ComMod & | com_mod, |
const Vector< int > & | incL, | ||
const Vector< double > & | res | ||
) |
Set data for Dirichlet and coupled Neumann boundary conditions.
void TrilinosLinearAlgebra::TrilinosImpl::initialize | ( | ComMod & | com_mod | ) |
Initialze an array used for something.
void TrilinosLinearAlgebra::TrilinosImpl::set_preconditioner | ( | consts::PreconditionerType | preconditioner | ) |
Set the preconditioner.
void TrilinosLinearAlgebra::TrilinosImpl::solve | ( | ComMod & | com_mod, |
eqType & | lEq, | ||
const Vector< int > & | incL, | ||
const Vector< double > & | res | ||
) |
Solve a system of linear equations assembled by fsils.
void TrilinosLinearAlgebra::TrilinosImpl::solve_assembled | ( | ComMod & | com_mod, |
eqType & | lEq, | ||
const Vector< int > & | incL, | ||
const Vector< double > & | res | ||
) |
Solve a system of linear equations assembled by Trilinos.
Vector<int> TrilinosLinearAlgebra::TrilinosImpl::ltg_ |
Local to global mapping.
Array<double> TrilinosLinearAlgebra::TrilinosImpl::R_ |
Residual.
Array<double> TrilinosLinearAlgebra::TrilinosImpl::W_ |
Factor for Dirichlet BCs.