39 #include <boost/core/ignore_unused.hpp> 52 ProcessDeform::create,
53 "Deform a mesh given an input field defining displacement");
65 boost::ignore_unused(vm);
68 if (
m_f->m_exp[0]->GetNumElmts() == 0)
75 for (
int i = 0; i < exp.num_elements(); ++i)
77 exp[i] =
m_f->m_exp[i];
std::shared_ptr< Field > FieldSharedPtr
std::pair< ModuleType, std::string > ModuleKey
void UpdateGeometry(SpatialDomains::MeshGraphSharedPtr graph, Array< OneD, MultiRegions::ExpListSharedPtr > &fields, bool modal)
Update geometry according to displacement that is in current fields.
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, std::string pDesc="")
Register a class with the factory.
Abstract base class for processing modules.
ModuleFactory & GetModuleFactory()
FieldSharedPtr m_f
Field object.