svFSIplus
Public Member Functions | Public Attributes | List of all members
TrilinosLinearAlgebra::TrilinosImpl Class Reference

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...
 

Member Function Documentation

◆ alloc()

void TrilinosLinearAlgebra::TrilinosImpl::alloc ( ComMod com_mod,
eqType lEq 
)

Allocate Trilinos arrays.

◆ assemble()

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.

◆ init_dir_and_coup_neu()

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.

◆ initialize()

void TrilinosLinearAlgebra::TrilinosImpl::initialize ( ComMod com_mod)

Initialze an array used for something.

◆ set_preconditioner()

void TrilinosLinearAlgebra::TrilinosImpl::set_preconditioner ( consts::PreconditionerType  preconditioner)

Set the preconditioner.

◆ solve()

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.

◆ solve_assembled()

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.

Member Data Documentation

◆ ltg_

Vector<int> TrilinosLinearAlgebra::TrilinosImpl::ltg_

Local to global mapping.

◆ R_

Array<double> TrilinosLinearAlgebra::TrilinosImpl::R_

Residual.

◆ W_

Array<double> TrilinosLinearAlgebra::TrilinosImpl::W_

Factor for Dirichlet BCs.


The documentation for this class was generated from the following files: