20 #ifndef __mast__system_initialization__ 21 #define __mast__system_initialization__ 31 #include "libmesh/fe_type.h" 37 class NonlinearSystem;
38 template <
typename ValType>
class FieldFunction;
49 const std::string&
prefix);
60 unsigned int n_vars()
const;
66 const libMesh::FEType&
fetype(
unsigned int i)
const;
88 const std::vector<unsigned int>
vars()
const {
125 #endif //__mast__system_initialization__ const std::vector< unsigned int > vars() const
MAST::NonlinearSystem & system()
void initialize_solution(const RealVectorX &sol)
initializes the FE solution vector to the constant solution provided in sol.
std::vector< unsigned int > _vars
This class implements a system for solution of nonlinear systems.
virtual ~SystemInitialization()
virtual destructor
unsigned int n_vars() const
const std::string & prefix() const
SystemInitialization(MAST::NonlinearSystem &sys, const std::string &prefix)
initialize the variables in the provided system sys of order and family.
const libMesh::FEType & fetype(unsigned int i) const
Matrix< Real, Dynamic, 1 > RealVectorX
MAST::NonlinearSystem & _system
const MAST::NonlinearSystem & system() const