|
Nektar++
|
#include <InputNek5000.h>


Public Member Functions | |
| InputNek5000 (FieldSharedPtr f) | |
| Set up InputNek5000 object. More... | |
| virtual | ~InputNek5000 () |
| virtual void | Process (po::variables_map &vm) |
| Process Nek5000 input file. More... | |
| virtual std::string | GetModuleName () |
Public Member Functions inherited from Nektar::FieldUtils::InputModule | |
| InputModule (FieldSharedPtr p_m) | |
| FIELD_UTILS_EXPORT void | AddFile (string fileType, string fileName) |
Public Member Functions inherited from Nektar::FieldUtils::Module | |
| FIELD_UTILS_EXPORT | Module (FieldSharedPtr p_f) |
| FIELD_UTILS_EXPORT void | RegisterConfig (string key, string value) |
| Register a configuration option with a module. More... | |
| FIELD_UTILS_EXPORT void | PrintConfig () |
| Print out all configuration options for a module. More... | |
| FIELD_UTILS_EXPORT void | SetDefaults () |
| Sets default configuration options for those which have not been set. More... | |
| FIELD_UTILS_EXPORT bool | GetRequireEquiSpaced (void) |
| FIELD_UTILS_EXPORT void | SetRequireEquiSpaced (bool pVal) |
| FIELD_UTILS_EXPORT void | EvaluateTriFieldAtEquiSpacedPts (LocalRegions::ExpansionSharedPtr &exp, const Array< OneD, const NekDouble > &infield, Array< OneD, NekDouble > &outfield) |
Static Public Member Functions | |
| static ModuleSharedPtr | create (FieldSharedPtr f) |
| Creates an instance of this class. More... | |
Static Public Attributes | |
| static ModuleKey | m_className [] |
| ModuleKey for class. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Nektar::FieldUtils::InputModule | |
| void | PrintSummary () |
| Print summary of elements. More... | |
Protected Member Functions inherited from Nektar::FieldUtils::Module | |
| Module () | |
Protected Attributes inherited from Nektar::FieldUtils::InputModule | |
| set< string > | m_allowedFiles |
Protected Attributes inherited from Nektar::FieldUtils::Module | |
| FieldSharedPtr | m_f |
| Field object. More... | |
| map< string, ConfigOption > | m_config |
| List of configuration values. More... | |
| bool | m_requireEquiSpaced |
Converter for Fld files.
Definition at line 49 of file library/FieldUtils/InputModules/InputNek5000.h.
| Nektar::FieldUtils::InputNek5000::InputNek5000 | ( | FieldSharedPtr | f | ) |
Set up InputNek5000 object.
Definition at line 83 of file library/FieldUtils/InputModules/InputNek5000.cpp.
References Nektar::FieldUtils::InputModule::m_allowedFiles.
|
virtual |
Definition at line 91 of file library/FieldUtils/InputModules/InputNek5000.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 57 of file library/FieldUtils/InputModules/InputNek5000.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
inlinevirtual |
Implements Nektar::FieldUtils::Module.
Definition at line 64 of file library/FieldUtils/InputModules/InputNek5000.h.
|
virtual |
Process Nek5000 input file.
This routine reads a binary-format Nek5000 field file, loads the data into memory and populates the field definitions to match the data format. Nek5000 is a classic nodal-Lagrangian spectral element code at a single polynomial order, meaning that the field data are set up according to this structure.
This module is adapted from the VisIt visualisation software, which supports a number of Nek5000 inputs.
Implements Nektar::FieldUtils::Module.
Definition at line 106 of file library/FieldUtils/InputModules/InputNek5000.cpp.
References ASSERTL0, Nektar::LibUtilities::eGLL_Lagrange, Nektar::LibUtilities::eHexahedron, Nektar::FieldUtils::Module::m_f, and Nektar::FieldUtils::swap_endian().
|
static |
ModuleKey for class.
Definition at line 62 of file library/FieldUtils/InputModules/InputNek5000.h.
1.8.8