#include <ProcessDeform.h>
Definition at line 45 of file ProcessDeform.h.
◆ ProcessDeform()
◆ ~ProcessDeform()
Nektar::FieldUtils::ProcessDeform::~ProcessDeform |
( |
| ) |
|
|
virtual |
◆ create()
◆ v_GetModuleDescription()
virtual std::string Nektar::FieldUtils::ProcessDeform::v_GetModuleDescription |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ v_GetModuleName()
virtual std::string Nektar::FieldUtils::ProcessDeform::v_GetModuleName |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ v_GetModulePriority()
virtual 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 62 of file ProcessDeform.cpp.
63{
65
66
67 if (
m_f->m_exp[0]->GetNumElmts() == 0)
68 {
69 return;
70 }
71
72 Array<OneD, MultiRegions::ExpListSharedPtr> exp(
m_f->m_exp.size());
73 Array<OneD, Array<OneD, NekDouble>> phys(
m_f->m_exp.size());
74 for (int i = 0; i < exp.size(); ++i)
75 {
76 exp[i] =
m_f->m_exp[i];
77 phys[i] =
m_f->m_exp[i]->UpdatePhys();
78 }
79
81}
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 53 of file ProcessDeform.h.