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);
This is the MeshBase class.
This class defines an abstract interface for Mesh output.
This class implements writing meshes in the Tecplot format.
virtual void write(const std::string &) override
This method implements writing a mesh to a specified file.
double & time()
Solution time for transient data.
std::string & zone_title()
The zone title to write.
int _strand_offset
Offset for Tecplot's STRANDID.
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...
std::set< subdomain_id_type > _subdomain_ids
The subdomains in the mesh.
bool & ascii_append()
Set to true to write multiple solutions to a single file (ASCII only).
bool _ascii_append
If true, when writing in ASCII format, open the file in std::ofstream::app mode.
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 & binary()
Flag indicating whether or not to write a binary file (if the tecio.a library was found by configure)...
unsigned elem_dimension()
Determines the logical spatial dimension of the elements 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...
double _time
Solution time.
int & strand_offset()
Strand offset for this file.
std::string _zone_title
The zone title to write.
bool _binary
Flag to write binary data.
The libMesh namespace provides an interface to certain functionality in the library.