Nalu
Nalu: a generalized unstructured massively parallel low Mach flow code designed to support a variety of energy applications of interest (most notably Wind ECP) built on the Sierra Toolkit and Trilinos solver Tpetra/Epetra stack. The open source BSD, clause 3 license model has been chosen for the code base. See LICENSE for more information. http://NaluCFD.org
Public Member Functions | Public Attributes | Protected Attributes | List of all members
sierra::nalu::LinearSolver Class Referenceabstract

#include <LinearSolver.h>

Inheritance diagram for sierra::nalu::LinearSolver:
sierra::nalu::TpetraLinearSolver

Public Member Functions

 LinearSolver (std::string name, LinearSolvers *linearSolvers, bool recompute_preconditioner, bool reuse_preconditioner)
 
virtual ~LinearSolver ()
 
virtual PetraType getType ()=0
 
Simulationroot ()
 
LinearSolversparent ()
 
bool & recomputePreconditioner ()
 
bool & reusePreconditioner ()
 
void zero_timer_precond ()
 
double get_timer_precond ()
 

Public Attributes

std::string name_
 
LinearSolverslinearSolvers_
 

Protected Attributes

bool recomputePreconditioner_
 
bool reusePreconditioner_
 
double timerPrecond_
 

Constructor & Destructor Documentation

sierra::nalu::LinearSolver::LinearSolver ( std::string  name,
LinearSolvers linearSolvers,
bool  recompute_preconditioner,
bool  reuse_preconditioner 
)
inline
virtual sierra::nalu::LinearSolver::~LinearSolver ( )
inlinevirtual

Member Function Documentation

double sierra::nalu::LinearSolver::get_timer_precond ( )
inline
virtual PetraType sierra::nalu::LinearSolver::getType ( )
pure virtual
LinearSolvers * sierra::nalu::LinearSolver::parent ( )

References linearSolvers_.

bool& sierra::nalu::LinearSolver::recomputePreconditioner ( )
inline
bool& sierra::nalu::LinearSolver::reusePreconditioner ( )
inline

References reusePreconditioner_.

Simulation * sierra::nalu::LinearSolver::root ( )
void sierra::nalu::LinearSolver::zero_timer_precond ( )
inline

Member Data Documentation

LinearSolvers* sierra::nalu::LinearSolver::linearSolvers_

Referenced by parent(), and root().

std::string sierra::nalu::LinearSolver::name_
bool sierra::nalu::LinearSolver::recomputePreconditioner_
protected
bool sierra::nalu::LinearSolver::reusePreconditioner_
protected
double sierra::nalu::LinearSolver::timerPrecond_
protected

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