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 | 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 | OutputFld |
Converter from fld to vtk. 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 | 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 | 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 | 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 | ProcessDeform |
class | ProcessDisplacement |
class | ProcessEquiSpacedOutput |
This processing module interpolates one field to another. More... | |
class | ProcessGrad |
This processing module calculates the vorticity and adds it as an extra-field to the output file. 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 | ProcessIsoContour |
This processing module extracts an isocontour. More... | |
class | ProcessJacobianEnergy |
This processing module scales the input fld file. More... | |
class | ProcessMapping |
This processing module scales the input fld file. 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 | ProcessMultiShear |
This processing module calculates the shear stress metrics and writes it to a surface output file. More... | |
class | ProcessNumModes |
This processing module calculates the vorticity and adds it as an extra-field to the output file. More... | |
class | ProcessPointDataToFld |
This processing module interpolates one field to another. 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 | 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 | 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 | ProcessVorticity |
This processing module calculates the vorticity and adds it as an extra-field to the 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... | |
struct | TriFaceHash |
struct | TriFaceIDs |
Typedefs | |
typedef boost::shared_ptr< Field > | FieldSharedPtr |
typedef boost::shared_ptr < Interpolator > | InterpolatorSharedPtr |
typedef boost::shared_ptr < InputModule > | InputModuleSharedPtr |
typedef pair< ModuleType, string > | ModuleKey |
typedef boost::shared_ptr< Module > | ModuleSharedPtr |
typedef LibUtilities::NekFactory < ModuleKey, Module, FieldSharedPtr > | ModuleFactory |
typedef boost::unordered_map < TriFaceIDs, int, TriFaceHash > | TriFaceMap |
typedef boost::shared_ptr< Iso > | IsoSharedPtr |
Enumerations | |
enum | InterpMethod { eNoMethod, eNearestNeighbour, eQuadratic, eShepard, eGauss } |
enum | ModuleType { eInputModule, eProcessModule, eOutputModule, SIZE_ModuleType } |
enum | TecplotZoneType { eOrdered = 0, eFELineSeg, eFETriangle, eFEQuadrilateral, eFETetrahedron, eFEBrick, eFEPolygon, eFEPolyhedron } |
Functions | |
template<typename T > | |
void | swap_endian (T &u) |
Swap endian ordering of the input variable. More... | |
ModuleFactory & | GetModuleFactory () |
std::ostream & | operator<< (std::ostream &os, const ModuleKey &rhs) |
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) |
vector< DNekMat > | MappingIdealToRef (SpatialDomains::GeometrySharedPtr geom, StdRegions::StdExpansionSharedPtr chi) |
Variables | |
static InterpolatorSharedPtr | NullInterpolator |
const char *const | ModuleTypeMap [] = {"Input", "Process", "Output"} |
std::string | TecplotZoneTypeMap [] |
const NekDouble | SQ_PNT_TOL =1e-16 |
typedef boost::shared_ptr<Field> Nektar::FieldUtils::FieldSharedPtr |
typedef boost::shared_ptr<InputModule> Nektar::FieldUtils::InputModuleSharedPtr |
Definition at line 197 of file FieldUtils/Module.h.
typedef boost::shared_ptr<Interpolator> Nektar::FieldUtils::InterpolatorSharedPtr |
Definition at line 245 of file Interpolator.h.
typedef boost::shared_ptr<Iso> Nektar::FieldUtils::IsoSharedPtr |
Definition at line 198 of file ProcessIsoContour.h.
typedef LibUtilities::NekFactory<ModuleKey, Module, FieldSharedPtr> Nektar::FieldUtils::ModuleFactory |
Definition at line 234 of file FieldUtils/Module.h.
typedef pair<ModuleType, string> Nektar::FieldUtils::ModuleKey |
Definition at line 229 of file FieldUtils/Module.h.
typedef boost::shared_ptr<Module> Nektar::FieldUtils::ModuleSharedPtr |
Definition at line 232 of file FieldUtils/Module.h.
typedef boost::unordered_map<TriFaceIDs, int, TriFaceHash> Nektar::FieldUtils::TriFaceMap |
Definition at line 100 of file ProcessDisplacement.cpp.
Enumerator | |
---|---|
eNoMethod | |
eNearestNeighbour | |
eQuadratic | |
eShepard | |
eGauss |
Definition at line 67 of file Interpolator.h.
Denotes different types of mesh converter modules: so far only input, output and process modules are defined.
Enumerator | |
---|---|
eInputModule | |
eProcessModule | |
eOutputModule | |
SIZE_ModuleType |
Definition at line 68 of file FieldUtils/Module.h.
Enumerator | |
---|---|
eOrdered | |
eFELineSeg | |
eFETriangle | |
eFEQuadrilateral | |
eFETetrahedron | |
eFEBrick | |
eFEPolygon | |
eFEPolyhedron |
Definition at line 47 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 49 of file FieldUtils/Module.cpp.
Referenced by Nektar::SolverUtils::FilterFieldConvert::CreateModules(), main(), Nektar::Utilities::InputMCF::Process(), Nektar::Utilities::ProcessOptiExtract::Process(), Nektar::Utilities::ProcessLinear::Process(), Nektar::Utilities::ProcessInsertSurface::Process(), and Nektar::NekMeshUtils::Octree::WriteOctree().
|
inline |
Definition at line 115 of file ProcessQualityMetric.cpp.
References ASSERTL0, Nektar::eFULL, Nektar::LibUtilities::eHexahedron, Nektar::LibUtilities::ePrism, Nektar::LibUtilities::eQuadrilateral, Nektar::LibUtilities::eTetrahedron, Nektar::LibUtilities::eTriangle, and CellMLToNektar.cellml_metadata::p.
Referenced by Nektar::Utilities::ElUtil::ElUtil(), and Nektar::FieldUtils::ProcessQualityMetric::GetQ().
bool Nektar::FieldUtils::operator!= | ( | const IsoVertex & | x, |
const IsoVertex & | y | ||
) |
Definition at line 982 of file ProcessIsoContour.cpp.
References Nektar::FieldUtils::IsoVertex::m_x, Nektar::FieldUtils::IsoVertex::m_y, Nektar::FieldUtils::IsoVertex::m_z, and SQ_PNT_TOL.
FIELD_UTILS_EXPORT ostream & Nektar::FieldUtils::operator<< | ( | std::ostream & | os, |
const ModuleKey & | rhs | ||
) |
Prints a given module key to a stream.
Definition at line 60 of file FieldUtils/Module.cpp.
References ModuleTypeMap.
bool Nektar::FieldUtils::operator== | ( | TriFaceIDs const & | p1, |
TriFaceIDs const & | p2 | ||
) |
Definition at line 83 of file ProcessDisplacement.cpp.
References Nektar::FieldUtils::TriFaceIDs::a, Nektar::FieldUtils::TriFaceIDs::b, and Nektar::FieldUtils::TriFaceIDs::c.
bool Nektar::FieldUtils::operator== | ( | const IsoVertex & | x, |
const IsoVertex & | y | ||
) |
Definition at line 975 of file ProcessIsoContour.cpp.
References Nektar::FieldUtils::IsoVertex::m_x, Nektar::FieldUtils::IsoVertex::m_y, Nektar::FieldUtils::IsoVertex::m_z, and SQ_PNT_TOL.
void Nektar::FieldUtils::swap_endian | ( | T & | u | ) |
Swap endian ordering of the input variable.
Definition at line 61 of file library/FieldUtils/InputModules/InputNek5000.cpp.
References dest.
Referenced by Nektar::FieldUtils::InputNek5000::Process().
void Nektar::FieldUtils::ThreeSimilar | ( | const int | i, |
const int | j, | ||
const int | k, | ||
int & | pr, | ||
int & | ps | ||
) |
Definition at line 334 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 302 of file ProcessIsoContour.cpp.
Referenced by Nektar::FieldUtils::ProcessIsoContour::ExtractContour().
void Nektar::FieldUtils::WriteStream | ( | std::ostream & | outfile, |
T | data | ||
) |
Helper function to write binary data to stream.
Definition at line 92 of file OutputTecplot.cpp.
Referenced by Nektar::FieldUtils::OutputTecplotBinary::WriteDoubleOrFloat(), WriteStream(), Nektar::FieldUtils::OutputTecplotBinary::WriteTecplotConnectivity(), Nektar::FieldUtils::OutputTecplotBinary::WriteTecplotHeader(), and Nektar::FieldUtils::OutputTecplotBinary::WriteTecplotZone().
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 105 of file OutputTecplot.cpp.
References WriteStream().
void Nektar::FieldUtils::WriteStream | ( | std::ostream & | outfile, |
Array< OneD, T > | data | ||
) |
Specialisation of WriteStream to support writing Nektar::Array datatype.
Definition at line 123 of file OutputTecplot.cpp.
void Nektar::FieldUtils::WriteStream | ( | std::ostream & | outfile, |
std::vector< T > | data | ||
) |
Specialisation of WriteStream to support writing std::vector datatype.
Definition at line 133 of file OutputTecplot.cpp.
const char* const Nektar::FieldUtils::ModuleTypeMap[] = {"Input", "Process", "Output"} |
Definition at line 76 of file FieldUtils/Module.h.
Referenced by operator<<(), and Nektar::NekMeshUtils::operator<<().
|
static |
Definition at line 246 of file Interpolator.h.
const NekDouble Nektar::FieldUtils::SQ_PNT_TOL =1e-16 |
Definition at line 56 of file ProcessIsoContour.h.
Referenced by Nektar::FieldUtils::Iso::GlobalCondense(), operator!=(), and operator==().
std::string Nektar::FieldUtils::TecplotZoneTypeMap[] |
Definition at line 51 of file OutputTecplot.cpp.