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) |
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 expansion=-1) |
int | GetNumTecplotBlocks (void) |
void | WriteTecplotField (const int field, std::ofstream &outfile, int expansion=-1) |
void | WriteTecplotConnectivity (std::ofstream &outfile) |
Private Attributes | |
bool | m_doError |
Additional Inherited Members | |
Protected Member Functions inherited from Nektar::Utilities::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 47 of file OutputTecplot.h.
Nektar::Utilities::OutputTecplot::OutputTecplot | ( | FieldSharedPtr | f | ) |
Definition at line 53 of file OutputTecplot.cpp.
References Nektar::Utilities::Module::m_requireEquiSpaced.
|
virtual |
Definition at line 58 of file OutputTecplot.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 51 of file OutputTecplot.h.
|
private |
Definition at line 313 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 62 of file OutputTecplot.cpp.
References Nektar::Utilities::ePtsFile, Nektar::Utilities::ePtsLine, Nektar::Utilities::ePtsPlane, Nektar::Utilities::Module::m_config, m_doError, Nektar::Utilities::Module::m_f, Nektar::Utilities::NullFieldPts, WriteTecplotConnectivity(), WriteTecplotField(), WriteTecplotHeader(), and WriteTecplotZone().
|
private |
Definition at line 396 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 351 of file OutputTecplot.cpp.
References m_doError, and Nektar::Utilities::Module::m_f.
Referenced by Process().
|
private |
Write Tecplot Files Header
outfile | Output file name. |
var | variables names |
Definition at line 181 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 223 of file OutputTecplot.cpp.
References Nektar::MultiRegions::e3DH1D, Nektar::MultiRegions::e3DH2D, GetNumTecplotBlocks(), m_doError, and Nektar::Utilities::Module::m_f.
Referenced by Process().
|
static |
Definition at line 54 of file OutputTecplot.h.
|
private |
Definition at line 62 of file OutputTecplot.h.
Referenced by Process(), WriteTecplotField(), and WriteTecplotZone().