52 "Deform a mesh given an input field defining displacement");
67 if(
m_f->m_comm->TreatAsRankZero())
69 cout <<
"ProcessDeform: Deforming grid..." << endl;
75 for (
int i = 0; i < exp.num_elements(); ++i)
77 exp[i] =
m_f->m_exp[i];
pair< ModuleType, string > ModuleKey
void UpdateGeometry(SpatialDomains::MeshGraphSharedPtr graph, Array< OneD, MultiRegions::ExpListSharedPtr > &fields, bool modal)
Update geometry according to displacement that is in current fields.
FieldSharedPtr m_f
Field object.
boost::shared_ptr< Field > FieldSharedPtr
ModuleFactory & GetModuleFactory()
Abstract base class for processing modules.
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, tDescription pDesc="")
Register a class with the factory.