Nektar++
|
Classes | |
struct | ConfigOption |
Represents a command-line configuration option. More... | |
struct | Field |
class | FieldConvertComm |
class | InputDat |
Input module for Xml files. More... | |
class | InputFld |
class | InputModule |
Abstract base class for input modules. More... | |
class | InputNek5000 |
class | InputPts |
class | InputSemtex |
class | InputXml |
class | Interpolator |
A class that contains algorithms for interpolation between pts fields, expansions and different meshes. More... | |
class | Iso |
class | IsoVertex |
class | Module |
class | Octree |
class | OutputFileBase |
Converter from fld to vtk. More... | |
class | OutputFld |
Output to fld format. More... | |
class | OutputInfo |
class | OutputModule |
Abstract base class for output modules. More... | |
class | OutputPts |
Converter from fld to pts. More... | |
class | OutputStdOut |
class | OutputTecplot |
Tecplot output class. More... | |
class | OutputTecplotBinary |
Tecplot output class, specifically for binary field output. More... | |
class | OutputVtk |
Converter from fld to vtk. More... | |
class | OutputVtkBase |
Converter from fld to vtk. More... | |
class | OutputXml |
Converter from fld to vtk. More... | |
class | ProcessAddCompositeID |
This processing module adds a fld with the composite ID. More... | |
class | ProcessAddFld |
This processing module scales the input fld file. More... | |
class | ProcessAverageFld |
This processing module averages the input fld files. More... | |
class | ProcessBodyFittedVelocity |
This processing module calculates the wall shear stress and adds it as an extra-field to the output file, and writes it to a surface output file. More... | |
class | ProcessBoundaryExtract |
This processing module sets up for the boundary field to be extracted. More... | |
class | ProcessC0Projection |
This processing module calculates the Q Criterion and adds it as an extra-field to the output file. More... | |
class | ProcessCFL |
This processing module calculates the CFL and adds it as an extra-field to the output file. More... | |
class | ProcessCombineAvg |
This processing module combines two fld files containing average fields. More... | |
class | ProcessConcatenateFld |
This processing module sets up for the boundary field to be extracted. More... | |
class | ProcessCreateExp |
This processing module scales the input fld file. More... | |
class | ProcessDeform |
class | ProcessDisplacement |
class | ProcessDOF |
This processing module calculates the number of DOF. More... | |
class | ProcessEquiSpacedOutput |
This processing module interpolates one field to another. More... | |
class | ProcessFieldFromString |
This processing module adds a new field from a string definition. More... | |
class | ProcessGrad |
This processing module calculates the gradient and adds it as an extra-field to the output file. More... | |
class | ProcessHalfModeToFourier |
This processing modifies Fourier Half Mode to a Fourier expansion. More... | |
class | ProcessHomogeneousPlane |
This processing module replaces all expansions by a single plane from 3DH1D fields, defined by the parameter planeid. More... | |
class | ProcessHomogeneousStretch |
This processing module stretches the homogeneous direction of a 3DH1D expansion by an integer factor. More... | |
class | ProcessInnerProduct |
This processing module computes the inner product between two fields. More... | |
class | ProcessInterpField |
This processing module interpolates one field to another. More... | |
class | ProcessInterpPointDataToFld |
This processing module interpolates one field to another. More... | |
class | ProcessInterpPoints |
This processing module interpolates one field to another. More... | |
class | ProcessInterpPtsToPts |
This processing module interpolates one field to another. More... | |
class | ProcessIsoContour |
This processing module extracts an isocontour. More... | |
class | ProcessJacobianEnergy |
This processing module scales the input fld file. More... | |
class | ProcessL2Criterion |
This processing module calculates the Lambda 2 Criterion and adds it as an extra-field to the output file. More... | |
class | ProcessMapping |
This processing module scales the input fld file. More... | |
class | ProcessMean |
This processing module computes the mean of each field. More... | |
class | ProcessMeanMode |
This processing module replaces all expansions by the mean mode from 3DH1D fields. More... | |
class | ProcessModule |
Abstract base class for processing modules. More... | |
class | ProcessMRF |
This processing module scales the input fld file. More... | |
class | ProcessMultiShear |
This processing module calculates the shear stress metrics and writes it to a surface output file. More... | |
class | ProcessNumModes |
This processing module determine the number of modes and adds it as an extra-field to the output file. More... | |
class | ProcessPhiFromFile |
class | ProcessPointDataToFld |
This processing module interpolates one field to another. More... | |
class | ProcessPowerSpectrum |
This processing module outputs power spectrum at given regions for a 3DH1D fields. More... | |
class | ProcessPrintFldNorms |
This processing module prints the L2 and LInf norms of the variables in the field. More... | |
class | ProcessQCriterion |
This processing module calculates the Q Criterion and adds it as an extra-field to the output file. More... | |
class | ProcessQualityMetric |
This processing module scales the input fld file. More... | |
class | ProcessRemoveField |
This processing module adds a new field from a string definition. More... | |
class | ProcessScaleInFld |
This processing module scales the input fld file. More... | |
class | ProcessScalGrad |
This processing module calculates the scalar gradient field and writes it to a surface output file. More... | |
class | ProcessStreamFunction |
This processing module calculates the stream function of a 2D field and adds it as an extra-field to the output file. More... | |
class | ProcessSurfDistance |
This processing module calculates the height of an element connected to a surface and adds it as an extra-field to the output file. More... | |
class | ProcessVelocityDivergence |
This processing module calculates the divergence of the velocity field and adds it as an extra-field to the output file. More... | |
class | ProcessVortexInducedVelocity |
This processing module calculates the velocity field induced by vortex filaments. More... | |
class | ProcessVorticity |
This processing module calculates the vorticity and adds it as an extra-field to the output file. More... | |
class | ProcessWallNormalData |
This processing module calculates the wall shear stress and adds it as an extra-field to the output file, and writes it to a surface output file. More... | |
class | ProcessWSS |
This processing module calculates the wall shear stress and adds it as an extra-field to the output file, and writes it to a surface output file. More... | |
class | ProcessZeroHomogeneousPlane |
This processing module replaces all expansions by a single plane from 3DH1D fields, defined by the parameter planeid. More... | |
struct | TriFaceHash |
struct | TriFaceIDs |
Typedefs | |
typedef std::shared_ptr< Field > | FieldSharedPtr |
typedef std::shared_ptr< Interpolator< std::vector< MultiRegions::ExpListSharedPtr > > > | InterpolatorSharedPtr |
typedef std::pair< ModuleType, std::string > | ModuleKey |
typedef std::shared_ptr< InputModule > | InputModuleSharedPtr |
typedef std::shared_ptr< Module > | ModuleSharedPtr |
typedef LibUtilities::NekFactory< ModuleKey, Module, FieldSharedPtr > | ModuleFactory |
typedef std::unordered_map< TriFaceIDs, int, TriFaceHash > | TriFaceMap |
typedef std::shared_ptr< Iso > | IsoSharedPtr |
Enumerations | |
enum | ModuleType { eInputModule , eProcessModule , eOutputModule , SIZE_ModuleType } |
enum | ModulePriority { eCreateGraph , eCreateFieldData , eModifyFieldData , eCreateExp , eFillExp , eModifyExp , eBndExtraction , eCreatePts , eConvertExpToPts , eModifyPts , eOutput , SIZE_ModulePriority } |
enum | TecplotZoneType { eOrdered = 0 , eFELineSeg , eFETriangle , eFEQuadrilateral , eFETetrahedron , eFEBrick , eFEPolygon , eFEPolyhedron } |
Functions | |
ModuleFactory & | GetModuleFactory () |
std::ostream & | operator<< (std::ostream &os, const ModuleKey &rhs) |
template<typename T > | |
void | swap_endian (T &u) |
Swap endian ordering of the input variable. More... | |
template<typename T > | |
void | swap_endian (std::vector< T > &u) |
template<typename T > | |
void | WriteStream (std::ostream &outfile, T data) |
Helper function to write binary data to stream. More... | |
template<> | |
void | WriteStream (std::ostream &outfile, std::string data) |
Specialisation of WriteStream to support writing std::string. More... | |
template<typename T > | |
void | WriteStream (std::ostream &outfile, Array< OneD, T > data) |
Specialisation of WriteStream to support writing Nektar::Array datatype. More... | |
template<typename T > | |
void | WriteStream (std::ostream &outfile, std::vector< T > data) |
Specialisation of WriteStream to support writing std::vector datatype. More... | |
bool | operator== (TriFaceIDs const &p1, TriFaceIDs const &p2) |
void | TwoPairs (Array< OneD, NekDouble > &cx, Array< OneD, NekDouble > &cy, Array< OneD, NekDouble > &cz, int &pr) |
void | ThreeSimilar (const int i, const int j, const int k, int &pr, int &ps) |
bool | operator== (const IsoVertex &x, const IsoVertex &y) |
bool | operator!= (const IsoVertex &x, const IsoVertex &y) |
void | MatSymEVals (NekDouble d1, NekDouble d2, NekDouble d3, NekDouble a, NekDouble b, NekDouble c, NekDouble &l1, NekDouble &l2, NekDouble &l3) |
Calculates eigenvalues of a 3x3 Symmetric matrix. More... | |
vector< DNekMat > | MappingIdealToRef (SpatialDomains::GeometrySharedPtr geom, StdRegions::StdExpansionSharedPtr chi) |
Variables | |
const std::string | ModuleTypeMap [] = {"Input", "Process", "Output"} |
const char *const | ModulePriorityMap [] |
std::string | TecplotZoneTypeMap [] |
typedef std::shared_ptr<Field> Nektar::FieldUtils::FieldSharedPtr |
typedef std::shared_ptr<InputModule> Nektar::FieldUtils::InputModuleSharedPtr |
typedef std::shared_ptr< Interpolator<std::vector<MultiRegions::ExpListSharedPtr> > > Nektar::FieldUtils::InterpolatorSharedPtr |
Definition at line 104 of file FieldUtils/Interpolator.h.
typedef std::shared_ptr<Iso> Nektar::FieldUtils::IsoSharedPtr |
Definition at line 184 of file ProcessIsoContour.h.
typedef std::pair<ModuleType, std::string> Nektar::FieldUtils::ModuleKey |
typedef std::shared_ptr<Module> Nektar::FieldUtils::ModuleSharedPtr |
typedef std::unordered_map<TriFaceIDs, int, TriFaceHash> Nektar::FieldUtils::TriFaceMap |
Definition at line 94 of file ProcessDisplacement.cpp.
Enumerator | |
---|---|
eCreateGraph | |
eCreateFieldData | |
eModifyFieldData | |
eCreateExp | |
eFillExp | |
eModifyExp | |
eBndExtraction | |
eCreatePts | |
eConvertExpToPts | |
eModifyPts | |
eOutput | |
SIZE_ModulePriority |
Definition at line 74 of file Module.h.
Denotes different types of mesh converter modules: so far only input, output and process modules are defined.
Enumerator | |
---|---|
eInputModule | |
eProcessModule | |
eOutputModule | |
SIZE_ModuleType |
Enumerator | |
---|---|
eOrdered | |
eFELineSeg | |
eFETriangle | |
eFEQuadrilateral | |
eFETetrahedron | |
eFEBrick | |
eFEPolygon | |
eFEPolyhedron |
Definition at line 44 of file OutputTecplot.h.
FIELD_UTILS_EXPORT ModuleFactory & Nektar::FieldUtils::GetModuleFactory | ( | ) |
Returns an instance of the module factory, held as a singleton.
Definition at line 47 of file Module.cpp.
Referenced by Nektar::SolverUtils::FilterFieldConvert::CreateModules(), main(), Module_Create(), and Module_Register().
|
inline |
Definition at line 111 of file ProcessQualityMetric.cpp.
References ASSERTL0, Nektar::eFULL, Nektar::LibUtilities::eHexahedron, Nektar::LibUtilities::ePrism, Nektar::LibUtilities::eQuadrilateral, Nektar::LibUtilities::eTetrahedron, Nektar::LibUtilities::eTriangle, CG_Iterations::loc, CellMLToNektar.cellml_metadata::p, and Nektar::UnitTests::z().
Referenced by Nektar::FieldUtils::ProcessQualityMetric::GetQ().
void Nektar::FieldUtils::MatSymEVals | ( | NekDouble | d1, |
NekDouble | d2, | ||
NekDouble | d3, | ||
NekDouble | a, | ||
NekDouble | b, | ||
NekDouble | c, | ||
NekDouble & | l1, | ||
NekDouble & | l2, | ||
NekDouble & | l3 | ||
) |
Calculates eigenvalues of a 3x3 Symmetric matrix.
d1,d2,d3 | - matrix diagonal entries at [0,0], [1,1] and [2,2] |
a | - matrix value at [0,1] and [1,0] |
b | - matrix value at [0,2] and [2,0] |
c | - matrix value at [1,2] and [2,1] |
l1,l2,l3 | the computed eigenvalues, ordered l3 >= l2 >= l1 |
Definition at line 68 of file ProcessL2Criterion.cpp.
References CellMLToNektar.cellml_metadata::p, Nektar::UnitTests::q(), and tinysimd::sqrt().
Referenced by Nektar::FieldUtils::ProcessL2Criterion::v_Process().
Definition at line 963 of file ProcessIsoContour.cpp.
FIELD_UTILS_EXPORT std::ostream & Nektar::FieldUtils::operator<< | ( | std::ostream & | os, |
const ModuleKey & | rhs | ||
) |
Prints a given module key to a stream.
Definition at line 56 of file Module.cpp.
References ModuleTypeMap.
bool Nektar::FieldUtils::operator== | ( | TriFaceIDs const & | p1, |
TriFaceIDs const & | p2 | ||
) |
Definition at line 77 of file ProcessDisplacement.cpp.
References Nektar::FieldUtils::TriFaceIDs::a, Nektar::FieldUtils::TriFaceIDs::b, and Nektar::FieldUtils::TriFaceIDs::c.
void Nektar::FieldUtils::swap_endian | ( | std::vector< T > & | u | ) |
Definition at line 116 of file Module.h.
References swap_endian().
void Nektar::FieldUtils::swap_endian | ( | T & | u | ) |
Swap endian ordering of the input variable.
Definition at line 98 of file Module.h.
Referenced by swap_endian(), Nektar::FieldUtils::InputNek5000::v_Process(), and Nektar::FieldUtils::InputSemtex::v_Process().
void Nektar::FieldUtils::ThreeSimilar | ( | const int | i, |
const int | j, | ||
const int | k, | ||
int & | pr, | ||
int & | ps | ||
) |
Definition at line 305 of file ProcessIsoContour.cpp.
References ASSERTL0.
Referenced by Nektar::FieldUtils::ProcessIsoContour::ExtractContour().
void Nektar::FieldUtils::TwoPairs | ( | Array< OneD, NekDouble > & | cx, |
Array< OneD, NekDouble > & | cy, | ||
Array< OneD, NekDouble > & | cz, | ||
int & | pr | ||
) |
Definition at line 278 of file ProcessIsoContour.cpp.
Referenced by Nektar::FieldUtils::ProcessIsoContour::ExtractContour().
void Nektar::FieldUtils::WriteStream | ( | std::ostream & | outfile, |
Array< OneD, T > | data | ||
) |
Specialisation of WriteStream to support writing Nektar::Array datatype.
Definition at line 125 of file OutputTecplot.cpp.
void Nektar::FieldUtils::WriteStream | ( | std::ostream & | outfile, |
std::string | data | ||
) |
Specialisation of WriteStream to support writing std::string.
Tecplot binary formats represent all strings by writing out their characters as 32-bit integers, followed by a 32-bit integer null (0) character to denote the end of the string.
Definition at line 106 of file OutputTecplot.cpp.
References WriteStream().
void Nektar::FieldUtils::WriteStream | ( | std::ostream & | outfile, |
std::vector< T > | data | ||
) |
Specialisation of WriteStream to support writing std::vector datatype.
Definition at line 138 of file OutputTecplot.cpp.
void Nektar::FieldUtils::WriteStream | ( | std::ostream & | outfile, |
T | data | ||
) |
Helper function to write binary data to stream.
Definition at line 93 of file OutputTecplot.cpp.
Referenced by Nektar::FieldUtils::OutputTecplotBinary::v_WriteTecplotConnectivity(), Nektar::FieldUtils::OutputTecplotBinary::v_WriteTecplotHeader(), Nektar::FieldUtils::OutputTecplotBinary::v_WriteTecplotZone(), Nektar::FieldUtils::OutputTecplotBinary::WriteDoubleOrFloat(), and WriteStream().
const char* const Nektar::FieldUtils::ModulePriorityMap[] |
const std::string Nektar::FieldUtils::ModuleTypeMap[] = {"Input", "Process", "Output"} |
Definition at line 72 of file Module.h.
Referenced by export_Module(), Module_Create(), Module_Register(), and operator<<().
std::string Nektar::FieldUtils::TecplotZoneTypeMap[] |
Definition at line 48 of file OutputTecplot.cpp.
Referenced by Nektar::FieldUtils::OutputTecplot::v_WriteTecplotZone().