35#ifndef NEKTAR_SOLVERS_LINEARELASTICSOLVER_EQUATIONSYSTEMS_ITERELASSYSTEM_H
36#define NEKTAR_SOLVERS_LINEARELASTICSOLVER_EQUATIONSYSTEMS_ITERELASSYSTEM_H
44using namespace SolverUtils;
Class for iterative elastic system, in which linear elasticity is applied in substeps to attain a lar...
Array< OneD, Array< OneD, Array< OneD, NekDouble > > > m_savedBCs
Storage for boundary conditions.
static EquationSystemSharedPtr create(const LibUtilities::SessionReaderSharedPtr &pSession, const SpatialDomains::MeshGraphSharedPtr &pGraph)
Creates an instance of this class.
void WriteGeometry(const int i)
Write out a file in serial or directory in parallel containing new mesh geometry.
void v_InitObject(bool DeclareFields=true) override
Initialisation object for EquationSystem.
static std::string className
Name of class.
bool m_repeatBCs
Flag determining whether to repeat boundary conditions.
void v_GenerateSummary(SolverUtils::SummaryList &s) override
Virtual function for generating summary information.
std::vector< int > m_toDeform
Vector of boundary regions to deform.
void v_DoSolve() override
Virtual function for solve implementation.
int m_numSteps
Number of steps to split deformation across.
IterativeElasticSystem(const LibUtilities::SessionReaderSharedPtr &pSession, const SpatialDomains::MeshGraphSharedPtr &pGraph)
Base class for linear elastic system.
General purpose memory allocation routines with the ability to allocate from thread specific memory p...
static std::shared_ptr< DataType > AllocateSharedPtr(const Args &...args)
Allocate a shared pointer from the memory pool.
std::shared_ptr< SessionReader > SessionReaderSharedPtr
std::vector< std::pair< std::string, std::string > > SummaryList
std::shared_ptr< EquationSystem > EquationSystemSharedPtr
A shared pointer to an EquationSystem object.
std::shared_ptr< MeshGraph > MeshGraphSharedPtr