40 #include <boost/core/ignore_unused.hpp>
51 ModuleKey ProcessHalfModeToFourier::className =
54 ProcessHalfModeToFourier::create,
55 "modify a FourierHalfMode into a Fourier expansion so it can be "
56 "processed as a 3D field.");
70 boost::ignore_unused(vm);
73 for (
int i = 0; i <
m_f->m_data.size(); ++i)
77 m_f->m_fielddef[i]->m_basis[2] ==
79 "This module is only for fourier Half modes");
82 m_f->m_fielddef[i]->m_homogeneousZIDs[0] += 2;
85 m_f->m_fielddef[i]->m_numModes[2] = 4;
#define ASSERTL0(condition, msg)
FieldSharedPtr m_f
Field object.
virtual ~ProcessHalfModeToFourier()
virtual void Process(po::variables_map &vm)
Write mesh to output file.
ModulePriority m_priority
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()
@ eFourierHalfModeIm
Fourier Modified expansions with just the imaginary part of the first mode
@ eFourierHalfModeRe
Fourier Modified expansions with just the real part of the first mode
@ eFourier
Fourier Expansion .
The above copyright notice and this permission notice shall be included.