#include <ProcessDeform.h>
Definition at line 43 of file ProcessDeform.h.
◆ ProcessDeform()
◆ ~ProcessDeform()
Nektar::FieldUtils::ProcessDeform::~ProcessDeform |
( |
| ) |
|
|
override |
◆ create()
◆ v_GetModuleDescription()
std::string Nektar::FieldUtils::ProcessDeform::v_GetModuleDescription |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ v_GetModuleName()
std::string Nektar::FieldUtils::ProcessDeform::v_GetModuleName |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ v_GetModulePriority()
ModulePriority Nektar::FieldUtils::ProcessDeform::v_GetModulePriority |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ v_Process()
void Nektar::FieldUtils::ProcessDeform::v_Process |
( |
po::variables_map & |
vm | ) |
|
|
overrideprotectedvirtual |
Write mesh to output file.
Reimplemented from Nektar::FieldUtils::Module.
Definition at line 58 of file ProcessDeform.cpp.
59{
61
62
63 if (
m_f->m_exp[0]->GetNumElmts() == 0)
64 {
65 return;
66 }
67
68 Array<OneD, MultiRegions::ExpListSharedPtr> exp(
m_f->m_exp.size());
69 Array<OneD, Array<OneD, NekDouble>> phys(
m_f->m_exp.size());
70 for (int i = 0; i < exp.size(); ++i)
71 {
72 exp[i] =
m_f->m_exp[i];
73 phys[i] =
m_f->m_exp[i]->UpdatePhys();
74 }
75
77}
FieldSharedPtr m_f
Field object.
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.
References Nektar::FieldUtils::Module::m_f, and Nektar::GlobalMapping::UpdateGeometry().
◆ className
ModuleKey Nektar::FieldUtils::ProcessDeform::className |
|
static |
Initial value:
"Deform a mesh given an input field defining displacement")
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, std::string pDesc="")
Register a class with the factory.
std::pair< ModuleType, std::string > ModuleKey
ModuleFactory & GetModuleFactory()
Definition at line 51 of file ProcessDeform.h.