48 "Deform a mesh given an input field defining displacement");
63 if (
m_f->m_exp[0]->GetNumElmts() == 0)
70 for (
int i = 0; i < exp.size(); ++i)
72 exp[i] =
m_f->m_exp[i];
73 phys[i] =
m_f->m_exp[i]->UpdatePhys();
FieldSharedPtr m_f
Field object.
Abstract base class for processing modules.
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, std::string pDesc="")
Register a class with the factory.
std::shared_ptr< Field > FieldSharedPtr
std::pair< ModuleType, std::string > ModuleKey
ModuleFactory & GetModuleFactory()
void UpdateGeometry(SpatialDomains::MeshGraphSharedPtr graph, Array< OneD, MultiRegions::ExpListSharedPtr > &fields, Array< OneD, Array< OneD, NekDouble > > &PhysVals, bool modal)
Update geometry according to displacement that is in current fields.