Nektar++
|
Tecplot output class, specifically for binary field output. More...
#include <OutputTecplot.h>
Static Public Member Functions | |
static boost::shared_ptr< Module > | create (FieldSharedPtr f) |
Creates an instance of this class. More... | |
Static Public Member Functions inherited from Nektar::FieldUtils::OutputTecplot | |
static boost::shared_ptr< Module > | create (FieldSharedPtr f) |
Creates an instance of this class. More... | |
Static Public Attributes | |
static ModuleKey | m_className |
Static Public Attributes inherited from Nektar::FieldUtils::OutputTecplot | |
static ModuleKey | m_className |
Protected Member Functions | |
void | WriteDoubleOrFloat (std::ofstream &outfile, Array< OneD, NekDouble > &data) |
Write either double-precision or single-precision output of field data. More... | |
virtual void | WriteTecplotHeader (std::ofstream &outfile, std::vector< std::string > &var) |
Write Tecplot files header in binary format. More... | |
virtual void | WriteTecplotZone (std::ofstream &outfile) |
virtual void | WriteTecplotConnectivity (std::ofstream &outfile) |
Write Tecplot connectivity information (ASCII) More... | |
Protected Member Functions inherited from Nektar::FieldUtils::OutputTecplot | |
int | GetNumTecplotBlocks () |
Calculate number of Tecplot blocks. More... | |
void | CalculateConnectivity () |
Calculate connectivity information for each expansion dimension. More... | |
virtual std::string | GetModuleName () |
Returns this module's name. More... | |
Protected Member Functions inherited from Nektar::FieldUtils::Module | |
Module () | |
Additional Inherited Members | |
Protected Attributes inherited from Nektar::FieldUtils::OutputTecplot | |
bool | m_binary |
True if writing binary field output. More... | |
bool | m_oneOutputFile |
True if writing a single output file. More... | |
TecplotZoneType | m_zoneType |
Tecplot zone type of output. More... | |
vector< int > | m_numPoints |
Number of points per block in Tecplot file. More... | |
int | m_numBlocks |
Number of blocks in Tecplot file. More... | |
int | m_coordim |
Coordinate dimension of output. More... | |
int | m_totConn |
Total number of connectivity entries. More... | |
vector< Array< OneD, int > > | m_conn |
Connectivty for each block: one per element. More... | |
Array< OneD, int > | m_rankFieldSizes |
Each rank's field sizes. More... | |
Array< OneD, int > | m_rankConnSizes |
Each rank's connectivity sizes. More... | |
Array< OneD, Array< OneD, NekDouble > > | m_fields |
Field data to output. More... | |
Protected Attributes inherited from Nektar::FieldUtils::OutputModule | |
ofstream | m_fldFile |
Output stream. More... | |
Protected Attributes inherited from Nektar::FieldUtils::Module | |
FieldSharedPtr | m_f |
Field object. More... | |
map< string, ConfigOption > | m_config |
List of configuration values. More... | |
bool | m_requireEquiSpaced |
Tecplot output class, specifically for binary field output.
Definition at line 118 of file OutputTecplot.h.
|
inline |
Definition at line 128 of file OutputTecplot.h.
References Nektar::FieldUtils::OutputTecplot::m_binary, and Nektar::FieldUtils::Module::m_config.
|
inlinevirtual |
Definition at line 136 of file OutputTecplot.h.
|
inlinestatic |
Creates an instance of this class.
Definition at line 122 of file OutputTecplot.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
protected |
Write either double-precision or single-precision output of field data.
outfile | Output file name. |
expansion | Expansion that is considered |
Definition at line 617 of file OutputTecplot.cpp.
References CellMLToNektar.pycml::copy(), Nektar::FieldUtils::Module::m_config, and Nektar::FieldUtils::WriteStream().
Referenced by WriteTecplotZone().
|
protectedvirtual |
Write Tecplot connectivity information (ASCII)
outfile | Output file |
Reimplemented from Nektar::FieldUtils::OutputTecplot.
Definition at line 836 of file OutputTecplot.cpp.
References Nektar::FieldUtils::OutputTecplot::m_conn, Nektar::FieldUtils::Module::m_f, Nektar::FieldUtils::OutputTecplot::m_oneOutputFile, Nektar::FieldUtils::OutputTecplot::m_rankConnSizes, Nektar::FieldUtils::OutputTecplot::m_rankFieldSizes, Nektar::FieldUtils::OutputTecplot::m_totConn, Vmath::Vcopy(), and Nektar::FieldUtils::WriteStream().
|
protectedvirtual |
Write Tecplot files header in binary format.
outfile | Output file name |
var | Variables names |
Reimplemented from Nektar::FieldUtils::OutputTecplot.
Definition at line 477 of file OutputTecplot.cpp.
References Nektar::FieldUtils::Module::m_f, Nektar::FieldUtils::OutputTecplot::m_oneOutputFile, CG_Iterations::title, and Nektar::FieldUtils::WriteStream().
|
protectedvirtual |
Write Tecplot zone output in binary
outfile | Output file name. |
expansion | Expansion that is considered |
Reimplemented from Nektar::FieldUtils::OutputTecplot.
Definition at line 644 of file OutputTecplot.cpp.
References Nektar::FieldUtils::eOrdered, Nektar::FieldUtils::Module::m_config, Nektar::FieldUtils::Module::m_f, Nektar::FieldUtils::OutputTecplot::m_fields, Nektar::FieldUtils::OutputTecplot::m_numBlocks, Nektar::FieldUtils::OutputTecplot::m_numPoints, Nektar::FieldUtils::OutputTecplot::m_oneOutputFile, Nektar::FieldUtils::OutputTecplot::m_rankFieldSizes, Nektar::FieldUtils::OutputTecplot::m_zoneType, Nektar::LibUtilities::ReduceMax, Nektar::LibUtilities::ReduceMin, Vmath::Vmax(), Vmath::Vmin(), Vmath::Vsum(), WriteDoubleOrFloat(), and Nektar::FieldUtils::WriteStream().
|
static |
Definition at line 127 of file OutputTecplot.h.