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. | |
Public Member Functions inherited from Nektar::Utilities::OutputModule | |
OutputModule (FieldSharedPtr p_f) | |
void | OpenStream () |
Open a file for output. | |
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. | |
void | PrintConfig () |
Print out all configuration options for a module. | |
void | SetDefaults () |
Sets default configuration options for those which have not been set. | |
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 (string key, string value) |
void | PrintConfig () |
void | SetDefaults () |
MeshSharedPtr | GetMesh () |
virtual void | ProcessVertices () |
Extract element vertices. |
Static Public Member Functions | |
static boost::shared_ptr< Module > | create (FieldSharedPtr f) |
Creates an instance of this class. |
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) |
Private Attributes | |
bool | m_doError |
TecOutType | m_outputType |
Additional Inherited Members | |
Protected Member Functions inherited from Nektar::Utilities::Module | |
Module () | |
virtual void | ProcessEdges (bool ReprocessEdges=true) |
Extract element edges. | |
virtual void | ProcessFaces (bool ReprocessFaces=true) |
Extract element faces. | |
virtual void | ProcessElements () |
Generate element IDs. | |
virtual void | ProcessComposites () |
Generate composites. | |
void | ReorderPrisms (PerMap &perFaces) |
Reorder node IDs so that prisms and tetrahedra are aligned correctly. | |
void | PrismLines (int prism, PerMap &perFaces, set< int > &prismsDone, vector< ElementSharedPtr > &line) |
Protected Attributes inherited from Nektar::Utilities::OutputModule | |
ofstream | m_fldFile |
Output stream. | |
std::ofstream | m_mshFile |
Output stream. |
Converter from fld to dat.
Definition at line 54 of file OutputTecplot.h.
Nektar::Utilities::OutputTecplot::OutputTecplot | ( | FieldSharedPtr | f | ) |
Definition at line 53 of file OutputTecplot.cpp.
References Nektar::Utilities::eFullBlockZone, Nektar::Utilities::eFullBlockZoneEquiSpaced, m_outputType, and Nektar::Utilities::Module::m_requireEquiSpaced.
|
virtual |
Definition at line 66 of file OutputTecplot.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 58 of file OutputTecplot.h.
|
private |
Definition at line 407 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 70 of file OutputTecplot.cpp.
References Nektar::Utilities::ePtsFile, Nektar::Utilities::ePtsLine, Nektar::Utilities::ePtsPlane, Nektar::Utilities::ePtsTetBlock, Nektar::Utilities::ePtsTriBlock, Nektar::Utilities::Module::m_config, m_doError, Nektar::Utilities::Module::m_f, Nektar::Utilities::NullFieldPts, WriteTecplotConnectivity(), WriteTecplotField(), WriteTecplotHeader(), and WriteTecplotZone().
|
private |
Definition at line 492 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 445 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 266 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 308 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 61 of file OutputTecplot.h.
|
private |
Definition at line 69 of file OutputTecplot.h.
Referenced by Process(), WriteTecplotField(), and WriteTecplotZone().
|
private |
Definition at line 70 of file OutputTecplot.h.
Referenced by OutputTecplot(), WriteTecplotField(), and WriteTecplotZone().