svFSIplus
Classes | Public Member Functions | List of all members
VtkVtuData Class Reference
Inheritance diagram for VtkVtuData:
[legend]

Classes

class  VtkVtuDataImpl
 

Public Member Functions

 VtkVtuData (const std::string &file_name, bool reader=true)
 
virtual Array< int > get_connectivity ()
 
virtual int num_elems ()
 
virtual int np_elem ()
 
virtual int num_points ()
 
virtual void read_file (const std::string &file_name)
 
void copy_points (Array< double > &points)
 Copy points into the given array. More...
 
void copy_point_data (const std::string &data_name, Array< double > &mesh_data)
 Copy an array of point data from an unstructured grid into the given Array. More...
 
void copy_point_data (const std::string &data_name, Vector< double > &mesh_data)
 
void copy_point_data (const std::string &data_name, Vector< int > &mesh_data)
 
Array< double > get_point_data (const std::string &data_name)
 Get an array of point data from an unstructured grid. More...
 
std::vector< std::string > get_point_data_names ()
 Get a list of point data names. More...
 
virtual Array< double > get_points ()
 
bool has_point_data (const std::string &data_name)
 
virtual void set_connectivity (const int nsd, const Array< int > &conn, const int pid=0)
 
virtual void set_element_data (const std::string &data_name, const Array< double > &data)
 
virtual void set_element_data (const std::string &data_name, const Array< int > &data)
 
virtual void set_point_data (const std::string &data_name, const Array< double > &data)
 
virtual void set_point_data (const std::string &data_name, const Array< int > &data)
 
virtual void set_point_data (const std::string &data_name, const Vector< int > &data)
 
virtual void set_points (const Array< double > &points)
 
virtual void write ()
 

Additional Inherited Members

- Static Public Member Functions inherited from VtkData
static VtkDatacreate_reader (const std::string &file_name)
 
static VtkDatacreate_writer (const std::string &file_name)
 
- Public Attributes inherited from VtkData
std::string file_name
 

Member Function Documentation

◆ copy_point_data()

void VtkVtuData::copy_point_data ( const std::string &  data_name,
Array< double > &  mesh_data 
)
virtual

Copy an array of point data from an unstructured grid into the given Array.

Implements VtkData.

◆ copy_points()

void VtkVtuData::copy_points ( Array< double > &  points)
virtual

Copy points into the given array.

Implements VtkData.

◆ get_point_data()

Array< double > VtkVtuData::get_point_data ( const std::string &  data_name)

Get an array of point data from an unstructured grid.

◆ get_point_data_names()

std::vector< std::string > VtkVtuData::get_point_data_names ( )

Get a list of point data names.


The documentation for this class was generated from the following files: