31 #ifndef TRILINOS_LINEAR_ALGEBRA_H
32 #define TRILINOS_LINEAR_ALGEBRA_H
34 #include "LinearAlgebra.h"
48 virtual void check_options(
const consts::PreconditionerType prec_cond_type,
const consts::LinearAlgebraType assembly_type);
50 virtual void set_assembly(consts::LinearAlgebraType atype);
55 static std::set<consts::LinearAlgebraType> valid_assemblers;
57 bool use_fsils_assembly =
false;
The ComMod class duplicates the data structures in the Fortran COMMOD module defined in MOD....
Definition: ComMod.h:1332
The LinearAlgebra class provides an abstract interface to linear algebra frameworks: FSILS,...
Definition: LinearAlgebra.h:40
Definition: trilinos_impl.cpp:1088
The TrilinosLinearAlgebra class implements the LinearAlgebra interface for the Trilinos numerical lin...
Definition: TrilinosLinearAlgebra.h:39
virtual void solve(ComMod &com_mod, eqType &lEq, const Vector< int > &incL, const Vector< double > &res)
Solve a system of linear equations.
Definition: TrilinosLinearAlgebra.cpp:196
virtual void set_preconditioner(consts::PreconditionerType prec_type)
Set the proconditioner.
Definition: TrilinosLinearAlgebra.cpp:183
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.
Definition: TrilinosLinearAlgebra.cpp:101
virtual void set_assembly(consts::LinearAlgebraType atype)
Set the linear algebra package for assmbly.
Definition: TrilinosLinearAlgebra.cpp:163
virtual void initialize(ComMod &com_mod, eqType &lEq)
Initialize Trilinos framework.
Definition: TrilinosLinearAlgebra.cpp:138
virtual void check_options(const consts::PreconditionerType prec_cond_type, const consts::LinearAlgebraType assembly_type)
Check the validity of the precondition and assembly options.
Definition: TrilinosLinearAlgebra.cpp:115
virtual void alloc(ComMod &com_mod, eqType &lEq)
Allocate data arrays.
Definition: TrilinosLinearAlgebra.cpp:86
Equation type.
Definition: ComMod.h:1000