20 #ifndef LIBMESH_TECPLOT_IO_H 21 #define LIBMESH_TECPLOT_IO_H 24 #include "libmesh/libmesh_common.h" 25 #include "libmesh/mesh_output.h" 61 virtual void write (
const std::string &)
override;
74 const std::vector<Number> &,
75 const std::vector<std::string> &)
override;
117 const std::vector<Number> * =
nullptr,
118 const std::vector<std::string> * =
nullptr);
128 const std::vector<Number> * =
nullptr,
129 const std::vector<std::string> * =
nullptr);
178 #endif // LIBMESH_TECPLOT_IO_H int & strand_offset()
Strand offset for this file.
double _time
Solution time.
This class defines an abstract interface for Mesh output.
The libMesh namespace provides an interface to certain functionality in the library.
bool & binary()
Flag indicating whether or not to write a binary file (if the tecio.a library was found by configure)...
This is the MeshBase class.
bool _binary
Flag to write binary data.
std::set< subdomain_id_type > _subdomain_ids
The subdomains in the mesh.
void write_ascii(const std::string &, const std::vector< Number > *=nullptr, const std::vector< std::string > *=nullptr)
This method implements writing a mesh with nodal data to a specified file where the nodal data and va...
void write_binary(const std::string &, const std::vector< Number > *=nullptr, const std::vector< std::string > *=nullptr)
This method implements writing a mesh with nodal data to a specified file where the nodal data and va...
int _strand_offset
Offset for Tecplot's STRANDID.
TecplotIO(const MeshBase &, const bool binary=false, const double time=0., const int strand_offset=0)
Constructor.
virtual void write(const std::string &) override
This method implements writing a mesh to a specified file.
unsigned elem_dimension()
Determines the logical spatial dimension of the elements in the Mesh.
bool _ascii_append
If true, when writing in ASCII format, open the file in std::ofstream::app mode.
This class implements writing meshes in the Tecplot format.
virtual void write_nodal_data(const std::string &, const std::vector< Number > &, const std::vector< std::string > &) override
This method implements writing a mesh with nodal data to a specified file where the nodal data and va...
bool & ascii_append()
Set to true to write multiple solutions to a single file (ASCII only).
std::string & zone_title()
The zone title to write.
std::string _zone_title
The zone title to write.
double & time()
Solution time for transient data.