42 string Projection::className =
63 for (
int i = 0; i <
m_fields.num_elements(); ++i)
76 for (
int i = 0; i <
m_fields.num_elements(); ++i)
79 name <<
"Forcing func [" << i <<
"]";
82 m_session->GetFunction(
"Forcing", i)->GetExpression());
A base class for describing how to solve specific equations.
std::vector< std::pair< std::string, std::string > > SummaryList
boost::shared_ptr< SessionReader > SessionReaderSharedPtr
virtual SOLVER_UTILS_EXPORT void v_InitObject()
Initialisation object for EquationSystem.
void AddSummaryItem(SummaryList &l, const std::string &name, const std::string &value)
Adds a summary item to the summary info list.
SOLVER_UTILS_EXPORT void EvaluateFunction(Array< OneD, Array< OneD, NekDouble > > &pArray, std::string pFunctionName, const NekDouble pTime=0.0, const int domain=0)
Evaluates a function as specified in the session file.
EquationSystemFactory & GetEquationSystemFactory()
virtual void v_DoSolve()
Virtual function for solve implementation.
Array< OneD, MultiRegions::ExpListSharedPtr > m_fields
Array holding all dependent variables.
LibUtilities::SessionReaderSharedPtr m_session
The session reader.
SOLVER_UTILS_EXPORT int GetNcoeffs()
SOLVER_UTILS_EXPORT void SessionSummary(SummaryList &vSummary)
Write out a session summary.
virtual void v_GenerateSummary(SolverUtils::SummaryList &s)
Virtual function for generating summary information.
void Zero(int n, T *x, const int incx)
Zero vector.
virtual void v_InitObject()
Initialisation object for EquationSystem.
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, tDescription pDesc="")
Register a class with the factory.