svFSIplus
|
The TrilinosLinearAlgebra class implements the LinearAlgebra interface for the Trilinos numerical linear algebra package. More...
#include <TrilinosLinearAlgebra.h>
Classes | |
class | TrilinosImpl |
Public Member Functions | |
virtual void | alloc (ComMod &com_mod, eqType &lEq) |
Allocate data arrays. More... | |
virtual 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... | |
virtual void | check_options (const consts::PreconditionerType prec_cond_type, const consts::LinearAlgebraType assembly_type) |
Check the validity of the precondition and assembly options. More... | |
virtual void | initialize (ComMod &com_mod, eqType &lEq) |
Initialize Trilinos framework. More... | |
virtual void | set_assembly (consts::LinearAlgebraType atype) |
Set the linear algebra package for assmbly. More... | |
virtual void | set_preconditioner (consts::PreconditionerType prec_type) |
Set the proconditioner. More... | |
virtual void | solve (ComMod &com_mod, eqType &lEq, const Vector< int > &incL, const Vector< double > &res) |
Solve a system of linear equations. More... | |
Public Member Functions inherited from LinearAlgebra | |
virtual consts::LinearAlgebraType | get_interface_type () |
Additional Inherited Members | |
Static Public Member Functions inherited from LinearAlgebra | |
static void | check_equation_compatibility (const consts::EquationType eq_phys, const consts::LinearAlgebraType lin_alg_type, const consts::LinearAlgebraType assembly_type) |
Check that equation physics is compatible with LinearAlgebra type. More... | |
Public Attributes inherited from LinearAlgebra | |
consts::LinearAlgebraType | interface_type = consts::LinearAlgebraType::none |
consts::LinearAlgebraType | assembly_type = consts::LinearAlgebraType::none |
consts::PreconditionerType | preconditioner_type = consts::PreconditionerType::PREC_NONE |
Static Public Attributes inherited from LinearAlgebra | |
static const std::map< std::string, consts::LinearAlgebraType > | name_to_type |
static const std::map< consts::LinearAlgebraType, std::string > | type_to_name |
The TrilinosLinearAlgebra class implements the LinearAlgebra interface for the Trilinos numerical linear algebra package.
Allocate data arrays.
Implements LinearAlgebra.
|
virtual |
Assemble local element arrays.
Assembly can be performed using fsils or trilinos.
Implements LinearAlgebra.
|
virtual |
Check the validity of the precondition and assembly options.
Trilinos can use fsils or trilinos for assembly.
Implements LinearAlgebra.
Initialize Trilinos framework.
Implements LinearAlgebra.
|
virtual |
Set the linear algebra package for assmbly.
Implements LinearAlgebra.
|
virtual |
Set the proconditioner.
Implements LinearAlgebra.
|
virtual |
Solve a system of linear equations.
Implements LinearAlgebra.