Nektar++
|
Converter from fld to dat. More...
#include <OutputTecplot.h>
Public Member Functions | |
OutputTecplot (FieldSharedPtr f) | |
virtual | ~OutputTecplot () |
virtual void | Process (po::variables_map &vm) |
Write fld to output file. More... | |
Public Member Functions inherited from Nektar::Utilities::OutputModule | |
OutputModule (FieldSharedPtr p_f) | |
void | OpenStream () |
Open a file for output. More... | |
OutputModule (MeshSharedPtr p_m) | |
void | OpenStream () |
Public Member Functions inherited from Nektar::Utilities::Module | |
Module (FieldSharedPtr p_f) | |
void | RegisterConfig (string key, string value) |
Register a configuration option with a module. More... | |
void | PrintConfig () |
Print out all configuration options for a module. More... | |
void | SetDefaults () |
Sets default configuration options for those which have not been set. More... | |
bool | GetRequireEquiSpaced (void) |
void | SetRequireEquiSpaced (bool pVal) |
void | EvaluateTriFieldAtEquiSpacedPts (LocalRegions::ExpansionSharedPtr &exp, const Array< OneD, const NekDouble > &infield, Array< OneD, NekDouble > &outfield) |
Module (MeshSharedPtr p_m) | |
virtual void | Process ()=0 |
void | RegisterConfig (std::string key, std::string value) |
void | PrintConfig () |
void | SetDefaults () |
MeshSharedPtr | GetMesh () |
virtual void | ProcessVertices () |
Extract element vertices. More... | |
virtual void | ProcessEdges (bool ReprocessEdges=true) |
Extract element edges. More... | |
virtual void | ProcessFaces (bool ReprocessFaces=true) |
Extract element faces. More... | |
virtual void | ProcessElements () |
Generate element IDs. More... | |
virtual void | ProcessComposites () |
Generate composites. More... | |
virtual void | ClearElementLinks () |
Static Public Member Functions | |
static boost::shared_ptr< Module > | create (FieldSharedPtr f) |
Creates an instance of this class. More... | |
Static Public Attributes | |
static ModuleKey | m_className |
Private Member Functions | |
void | WriteTecplotHeader (std::ofstream &outfile, std::string var) |
void | WriteTecplotZone (std::ofstream &outfile) |
int | GetNumTecplotBlocks (void) |
void | WriteTecplotField (const int field, std::ofstream &outfile) |
void | WriteTecplotConnectivity (std::ofstream &outfile) |
virtual std::string | GetModuleName () |
Private Attributes | |
bool | m_doError |
TecOutType | m_outputType |
Additional Inherited Members | |
Protected Member Functions inherited from Nektar::Utilities::Module | |
Module () | |
void | ReorderPrisms (PerMap &perFaces) |
Reorder node IDs so that prisms and tetrahedra are aligned correctly. More... | |
void | PrismLines (int prism, PerMap &perFaces, std::set< int > &prismsDone, std::vector< ElementSharedPtr > &line) |
Protected Attributes inherited from Nektar::Utilities::OutputModule | |
ofstream | m_fldFile |
Output stream. More... | |
std::ofstream | m_mshFile |
Output stream. More... | |
Protected Attributes inherited from Nektar::Utilities::Module | |
FieldSharedPtr | m_f |
Field object. More... | |
map< string, ConfigOption > | m_config |
List of configuration values. More... | |
bool | m_requireEquiSpaced |
MeshSharedPtr | m_mesh |
Mesh object. More... | |
std::map< std::string, ConfigOption > | m_config |
List of configuration values. More... | |
Converter from fld to dat.
Definition at line 55 of file OutputTecplot.h.
Nektar::Utilities::OutputTecplot::OutputTecplot | ( | FieldSharedPtr | f | ) |
Definition at line 56 of file OutputTecplot.cpp.
References Nektar::Utilities::eFullBlockZone, Nektar::Utilities::eFullBlockZoneEquiSpaced, m_outputType, and Nektar::Utilities::Module::m_requireEquiSpaced.
|
virtual |
Definition at line 71 of file OutputTecplot.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 59 of file OutputTecplot.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
inlineprivatevirtual |
Implements Nektar::Utilities::Module.
Definition at line 85 of file OutputTecplot.h.
|
private |
Definition at line 571 of file OutputTecplot.cpp.
References Nektar::Utilities::Module::m_f.
Referenced by WriteTecplotZone().
|
virtual |
Write fld to output file.
Implements Nektar::Utilities::Module.
Definition at line 75 of file OutputTecplot.cpp.
References ASSERTL0, Nektar::LibUtilities::ePtsBox, Nektar::LibUtilities::ePtsFile, Nektar::LibUtilities::ePtsLine, Nektar::LibUtilities::ePtsPlane, Nektar::LibUtilities::ePtsTetBlock, Nektar::LibUtilities::ePtsTriBlock, Nektar::Utilities::Module::m_config, m_doError, Nektar::Utilities::Module::m_f, npts, Nektar::LibUtilities::NullPtsField, Nektar::LibUtilities::ReduceSum, WriteTecplotConnectivity(), WriteTecplotField(), WriteTecplotHeader(), and WriteTecplotZone().
|
private |
Definition at line 656 of file OutputTecplot.cpp.
References ASSERTL0, Nektar::MultiRegions::e3DH1D, and Nektar::Utilities::Module::m_f.
Referenced by Process().
|
private |
Write Tecplot Files Field
outfile | Output file name. |
expansion | Expansion that is considered |
Definition at line 609 of file OutputTecplot.cpp.
References Nektar::Utilities::eFullBlockZone, m_doError, Nektar::Utilities::Module::m_f, and m_outputType.
Referenced by Process().
|
private |
Write Tecplot Files Header
outfile | Output file name. |
var | variables names |
Definition at line 416 of file OutputTecplot.cpp.
References Nektar::MultiRegions::e3DH1D, Nektar::MultiRegions::e3DH2D, and Nektar::Utilities::Module::m_f.
Referenced by Process().
|
private |
Write Tecplot Files Zone
outfile | Output file name. |
expansion | Expansion that is considered |
Definition at line 465 of file OutputTecplot.cpp.
References ASSERTL0, Nektar::MultiRegions::e3DH1D, Nektar::MultiRegions::e3DH2D, Nektar::Utilities::eFullBlockZone, Nektar::Utilities::eFullBlockZoneEquiSpaced, Nektar::Utilities::eSeperateZones, GetNumTecplotBlocks(), m_doError, Nektar::Utilities::Module::m_f, and m_outputType.
Referenced by Process().
|
static |
Definition at line 62 of file OutputTecplot.h.
|
private |
Definition at line 70 of file OutputTecplot.h.
Referenced by Process(), WriteTecplotField(), and WriteTecplotZone().
|
private |
Definition at line 71 of file OutputTecplot.h.
Referenced by OutputTecplot(), WriteTecplotField(), and WriteTecplotZone().