39 #include <boost/core/ignore_unused.hpp>
52 ProcessDeform::create,
53 "Deform a mesh given an input field defining displacement");
68 if (
m_f->m_exp[0]->GetNumElmts() == 0)
75 for (
int i = 0; i < exp.size(); ++i)
77 exp[i] =
m_f->m_exp[i];
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, bool modal)
Update geometry according to displacement that is in current fields.
The above copyright notice and this permission notice shall be included.