ViennaGrid - The Vienna Grid Library
2.1.0
|
A VTK reader class that allows to read meshes from XML-based VTK files as defined in http://www.vtk.org/pdf/file-formats.pdf. More...
#include <vtk_reader.hpp>
Public Member Functions | |
viennagrid::result_of::field < const std::deque< double > , CellType >::type | cell_scalar_field (std::string const &quantity_name, segment_id_type seg_id) const |
Returns the cell scalar field for a given quantity name and a given segment ID. If the quantity name was registered before an invalid field is returned. | |
viennagrid::result_of::field < const std::deque< double > , CellType >::type | cell_scalar_field (std::string const &quantity_name, SegmentHandleType const &segment) const |
Returns the cell scalar field for a given quantity name and a given segment. If the quantity name was registered before an invalid field is returned. | |
viennagrid::result_of::field < const std::deque < vector_data_type >, CellType > ::type | cell_vector_field (std::string const &quantity_name, segment_id_type seg_id) const |
Returns the cell vector field for a given quantity name and a given segment ID. If the quantity name was registered before an invalid field is returned. | |
viennagrid::result_of::field < const std::deque < vector_data_type >, CellType > ::type | cell_vector_field (std::string const &quantity_name, SegmentHandleType const &segment) const |
Returns the cell vector field for a given quantity name and a given segment. If the quantity name was registered before an invalid field is returned. | |
std::vector< std::pair < std::size_t, std::string > > const & | get_scalar_data_on_cells () const |
Returns the names of all scalar-valued data read for cells. | |
std::vector< std::pair < std::size_t, std::string > > const & | get_scalar_data_on_vertices () const |
Returns the names of all scalar-valued data read for vertices. | |
std::vector< std::pair < std::size_t, std::string > > const & | get_vector_data_on_cells () const |
Returns the names of all vector-valued data read for cells. | |
std::vector< std::pair < std::size_t, std::string > > const & | get_vector_data_on_vertices () const |
Returns the names of all vector-valued data read for vertices. | |
void | operator() (MeshType &mesh_obj, SegmentationType &segmentation, std::string const &filename) |
Triggers the read process. | |
void | operator() (MeshType &mesh_obj, std::string const &filename) |
Triggers the read process. | |
template<typename AccessorOrFieldType > | |
void | register_cell_scalar (AccessorOrFieldType accessor_or_field, std::string const &quantity_name) |
Registers a cell scalar accessor/field with a given quantity name. | |
template<typename AccessorOrFieldType > | |
void | register_cell_scalar (segment_id_type seg_id, AccessorOrFieldType accessor_or_field, std::string const &quantity_name) |
Registers a cell scalar accessor/field with a given quantity name for a given segment ID. | |
template<typename AccessorOrFieldType > | |
void | register_cell_scalar (SegmentHandleType const &segment, AccessorOrFieldType accessor_or_field, std::string const &quantity_name) |
Registers a cell scalar accessor/field with a given quantity name for a given segment. | |
template<typename AccessorOrFieldType > | |
void | register_cell_vector (AccessorOrFieldType accessor_or_field, std::string const &quantity_name) |
Registers a cell vector accessor/field with a given quantity name. | |
template<typename AccessorOrFieldType > | |
void | register_cell_vector (segment_id_type seg_id, AccessorOrFieldType accessor_or_field, std::string const &quantity_name) |
Registers a cell vector accessor/field with a given quantity name for a given segment ID. | |
template<typename AccessorOrFieldType > | |
void | register_cell_vector (SegmentHandleType const &segment, AccessorOrFieldType accessor_or_field, std::string const &quantity_name) |
Registers a cell vector accessor/field with a given quantity name for a given segment. | |
template<typename AccessorOrFieldType > | |
void | register_vertex_scalar (AccessorOrFieldType accessor_or_field, std::string const &quantity_name) |
Registers a vertex scalar accessor/field with a given quantity name. | |
template<typename AccessorOrFieldType > | |
void | register_vertex_scalar (segment_id_type seg_id, AccessorOrFieldType accessor_or_field, std::string const &quantity_name) |
Registers a vertex scalar accessor/field with a given quantity name for a given segment ID. | |
template<typename AccessorOrFieldType > | |
void | register_vertex_scalar (SegmentHandleType const &segment, AccessorOrFieldType accessor_or_field, std::string const &quantity_name) |
Registers a vertex scalar accessor/field with a given quantity name for a given segment. | |
template<typename AccessorOrFieldType > | |
void | register_vertex_vector (AccessorOrFieldType accessor_or_field, std::string const &quantity_name) |
Registers a vertex vector accessor/field with a given quantity name. | |
template<typename AccessorOrFieldType > | |
void | register_vertex_vector (segment_id_type seg_id, AccessorOrFieldType accessor_or_field, std::string const &quantity_name) |
Registers a vertex vector accessor/field with a given quantity name for a given segment ID. | |
template<typename AccessorOrFieldType > | |
void | register_vertex_vector (SegmentHandleType const &segment, AccessorOrFieldType accessor_or_field, std::string const &quantity_name) |
Registers a vertex vector accessor/field with a given quantity name for a given segment. | |
std::vector< std::string > | scalar_cell_data_names (segment_id_type segment_id) const |
Returns the data names of all scalar cell data read. | |
std::vector< std::string > | scalar_vertex_data_names (segment_id_type segment_id) const |
Returns the data names of all scalar vertex data read. | |
std::vector< std::string > | vector_cell_data_names (segment_id_type segment_id) const |
Returns the data names of all vector cell data read. | |
std::vector< std::string > | vector_vertex_data_names (segment_id_type segment_id) const |
Returns the data names of all vector vertex data read. | |
viennagrid::result_of::field < const std::deque< double > , VertexType >::type | vertex_scalar_field (std::string const &quantity_name, segment_id_type seg_id) const |
Returns the vertex scalar field for a given quantity name and a given segment ID. If the quantity name was registered before an invalid field is returned. | |
viennagrid::result_of::field < const std::deque< double > , VertexType >::type | vertex_scalar_field (std::string const &quantity_name, SegmentHandleType const &segment) const |
Returns the vertex scalar field for a given quantity name and a given segment. If the quantity name was registered before an invalid field is returned. | |
viennagrid::result_of::field < const std::deque < vector_data_type > , VertexType >::type | vertex_vector_field (std::string const &quantity_name, segment_id_type seg_id) const |
Returns the vertex vector field for a given quantity name and a given segment ID. If the quantity name was registered before an invalid field is returned. | |
viennagrid::result_of::field < const std::deque < vector_data_type > , VertexType >::type | vertex_vector_field (std::string const &quantity_name, SegmentHandleType const &segment) |
Returns the vertex vector field for a given quantity name and a given segment. If the quantity name was registered before an invalid field is returned. | |
~vtk_reader () | |
Protected Types | |
typedef viennagrid::element_key < CellType > | CellElementKeyType |
typedef result_of::handle < MeshType, CellTag >::type | CellHandleType |
typedef viennagrid::result_of::iterator < CellRange >::type | CellIterator |
typedef viennagrid::result_of::cell_range < MeshType >::type | CellRange |
typedef std::map< std::string, base_dynamic_field< double, CellType > * > | CellScalarOutputFieldContainer |
typedef viennagrid::result_of::cell_tag < MeshType >::type | CellTag |
typedef result_of::element < MeshType, CellTag >::type | CellType |
typedef std::map< std::string, base_dynamic_field < vector_data_type, CellType > * > | CellVectorOutputFieldContainer |
typedef viennagrid::result_of::coord < PointType >::type | CoordType |
typedef viennagrid::result_of::iterator < EdgeRange >::type | EdgeIterator |
typedef viennagrid::result_of::line_range < MeshType >::type | EdgeRange |
typedef viennagrid::result_of::iterator < FacetRange >::type | FacetIterator |
typedef viennagrid::result_of::facet_range < MeshType >::type | FacetRange |
typedef MeshType | mesh_type |
typedef viennagrid::result_of::point < MeshType >::type | PointType |
typedef SegmentationType::segment_id_type | segment_id_type |
typedef SegmentationType | segmentation_type |
typedef SegmentationType::segment_handle_type | SegmentHandleType |
typedef std::vector< double > | vector_data_type |
typedef result_of::vertex_handle < MeshType >::type | VertexHandleType |
typedef result_of::vertex_id < MeshType >::type | VertexIDType |
typedef viennagrid::result_of::iterator < VertexRange >::type | VertexIterator |
typedef viennagrid::result_of::vertex_range < MeshType >::type | VertexRange |
typedef std::map< std::string, base_dynamic_field< double, VertexType > * > | VertexScalarOutputFieldContainer |
typedef result_of::vertex < MeshType >::type | VertexType |
typedef std::map< std::string, base_dynamic_field < vector_data_type, VertexType > * > | VertexVectorOutputFieldContainer |
Protected Member Functions | |
void | checkNextToken (std::string const &expectedToken) |
Make sure that the next token is given by 'expectedToken'. Throws a bad_file_format_exception if this is not the case. | |
template<typename map_type > | |
void | clear_map (map_type &map) |
void | closeFile () |
Closes a file. | |
bool | lowercase_compare (std::string const &s1, std::string const &s2) |
compares the lower-case representation of two strings | |
void | openFile (std::string const &filename) |
Opens a file. | |
void | parse_vtu_segment (std::string filename, segment_id_type seg_id) |
Parses a .vtu file referring to a segment of the mesh. | |
void | post_clear () |
void | pre_clear () |
void | process_pvd (std::string const &filename) |
Processes a .pvd file containing the links to the segments stored in individual .vtu files. | |
void | process_vtu (std::string const &filename) |
Processes a .vtu file that represents a full mesh. | |
void | readCellIndices (segment_id_type seg_id) |
Reads the vertex indices of the cells inside the mesh. | |
void | readData (std::deque< double > &container) |
Read data and push it to a container. Helper function. | |
void | readNodeCoordinates (std::size_t nodeNum, std::size_t numberOfComponents, segment_id_type seg_id) |
Reads the coordinates of the points/vertices in the mesh. | |
void | readOffsets (segment_id_type seg_id) |
Read the cell offsets for the vertex indices. | |
template<typename ContainerType , typename NameContainerType > | |
void | readPointCellData (segment_id_type seg_id, ContainerType &scalar_data, ContainerType &vector_data, NameContainerType &data_names_scalar, NameContainerType &data_names_vector) |
Read point or cell data and fill the respective data containers. | |
void | readTypes () |
Read the types of each cell. | |
void | setupCells (MeshType &mesh_obj, SegmentationType &segmentation, segment_id_type seg_id) |
Pushes the cells read to the mesh. Preserves segment information. | |
void | setupData (MeshType &mesh_obj, SegmentationType &segmentation, segment_id_type seg_id) |
Writes all data read from files to the mesh. | |
template<typename ContainerType > | |
void | setupDataCell (MeshType &, SegmentHandleType &segment, segment_id_type seg_id, ContainerType const &container, std::size_t num_components) |
Writes data for cells to the ViennaGrid mesh using ViennaData. | |
template<typename ContainerType > | |
void | setupDataVertex (MeshType &mesh_obj, SegmentHandleType &segment, segment_id_type seg_id, ContainerType const &container, std::size_t num_components) |
Writes data for vertices to the ViennaGrid mesh using ViennaData. | |
void | setupVertices (MeshType &mesh_obj) |
Pushes the vertices read to the mesh. | |
Protected Attributes | |
std::map< CellElementKeyType, CellHandleType > | global_cells |
std::map< PointType, std::size_t, point_less > | global_points |
std::map< std::size_t, PointType > | global_points_2 |
std::map< int, std::deque < CellHandleType > > | local_cell_handle |
std::map< int, std::size_t > | local_cell_num |
std::map< int, std::deque < std::size_t > > | local_cell_offsets |
std::map< int, std::deque < std::size_t > > | local_cell_vertices |
std::map< int, std::deque < std::pair< std::string, std::deque< double > > > > | local_scalar_cell_data |
std::map< int, std::deque < std::pair< std::string, std::deque< double > > > > | local_scalar_vertex_data |
std::map< int, std::deque < std::size_t > > | local_to_global_map |
std::map< int, std::deque < std::pair< std::string, std::deque< double > > > > | local_vector_cell_data |
std::map< int, std::deque < std::pair< std::string, std::deque< double > > > > | local_vector_vertex_data |
std::ifstream | reader |
Static Protected Attributes | |
static const int | geometric_dim = viennagrid::result_of::static_size<PointType>::value |
A VTK reader class that allows to read meshes from XML-based VTK files as defined in http://www.vtk.org/pdf/file-formats.pdf.
MeshType | The type of the mesh to be read. Must not be a segment type! |
SegmentationType | The type of the segmentation to be read, default is the default segmentation of MeshType |
typedef viennagrid::element_key<CellType> CellElementKeyType [protected] |
typedef result_of::handle<MeshType, CellTag>::type CellHandleType [protected] |
typedef viennagrid::result_of::iterator<CellRange>::type CellIterator [protected] |
typedef viennagrid::result_of::cell_range<MeshType>::type CellRange [protected] |
typedef std::map< std::string, base_dynamic_field<double, CellType> * > CellScalarOutputFieldContainer [protected] |
typedef viennagrid::result_of::cell_tag<MeshType>::type CellTag [protected] |
typedef result_of::element<MeshType, CellTag>::type CellType [protected] |
typedef std::map< std::string, base_dynamic_field<vector_data_type, CellType> * > CellVectorOutputFieldContainer [protected] |
typedef viennagrid::result_of::coord<PointType>::type CoordType [protected] |
typedef viennagrid::result_of::iterator<EdgeRange>::type EdgeIterator [protected] |
typedef viennagrid::result_of::line_range<MeshType>::type EdgeRange [protected] |
typedef viennagrid::result_of::iterator<FacetRange>::type FacetIterator [protected] |
typedef viennagrid::result_of::facet_range<MeshType>::type FacetRange [protected] |
typedef MeshType mesh_type [protected] |
typedef viennagrid::result_of::point<MeshType>::type PointType [protected] |
typedef SegmentationType::segment_id_type segment_id_type [protected] |
typedef SegmentationType segmentation_type [protected] |
typedef SegmentationType::segment_handle_type SegmentHandleType [protected] |
typedef std::vector<double> vector_data_type [protected] |
typedef result_of::vertex_handle<MeshType>::type VertexHandleType [protected] |
typedef result_of::vertex_id<MeshType>::type VertexIDType [protected] |
typedef viennagrid::result_of::iterator<VertexRange>::type VertexIterator [protected] |
typedef viennagrid::result_of::vertex_range<MeshType>::type VertexRange [protected] |
typedef std::map< std::string, base_dynamic_field<double, VertexType> * > VertexScalarOutputFieldContainer [protected] |
typedef result_of::vertex<MeshType>::type VertexType [protected] |
typedef std::map< std::string, base_dynamic_field<vector_data_type, VertexType> * > VertexVectorOutputFieldContainer [protected] |
~vtk_reader | ( | ) | [inline] |
viennagrid::result_of::field<const std::deque<double>, CellType >::type cell_scalar_field | ( | std::string const & | quantity_name, |
segment_id_type | seg_id | ||
) | const [inline] |
Returns the cell scalar field for a given quantity name and a given segment ID. If the quantity name was registered before an invalid field is returned.
viennagrid::result_of::field<const std::deque<double>, CellType >::type cell_scalar_field | ( | std::string const & | quantity_name, |
SegmentHandleType const & | segment | ||
) | const [inline] |
Returns the cell scalar field for a given quantity name and a given segment. If the quantity name was registered before an invalid field is returned.
viennagrid::result_of::field<const std::deque<vector_data_type>, CellType >::type cell_vector_field | ( | std::string const & | quantity_name, |
segment_id_type | seg_id | ||
) | const [inline] |
Returns the cell vector field for a given quantity name and a given segment ID. If the quantity name was registered before an invalid field is returned.
viennagrid::result_of::field<const std::deque<vector_data_type>, CellType >::type cell_vector_field | ( | std::string const & | quantity_name, |
SegmentHandleType const & | segment | ||
) | const [inline] |
Returns the cell vector field for a given quantity name and a given segment. If the quantity name was registered before an invalid field is returned.
void checkNextToken | ( | std::string const & | expectedToken | ) | [inline, protected] |
Make sure that the next token is given by 'expectedToken'. Throws a bad_file_format_exception if this is not the case.
void clear_map | ( | map_type & | map | ) | [inline, protected] |
void closeFile | ( | ) | [inline, protected] |
Closes a file.
std::vector<std::pair<std::size_t, std::string> > const& get_scalar_data_on_cells | ( | ) | const [inline] |
Returns the names of all scalar-valued data read for cells.
std::vector<std::pair<std::size_t, std::string> > const& get_scalar_data_on_vertices | ( | ) | const [inline] |
Returns the names of all scalar-valued data read for vertices.
std::vector<std::pair<std::size_t, std::string> > const& get_vector_data_on_cells | ( | ) | const [inline] |
Returns the names of all vector-valued data read for cells.
std::vector<std::pair<std::size_t, std::string> > const& get_vector_data_on_vertices | ( | ) | const [inline] |
Returns the names of all vector-valued data read for vertices.
bool lowercase_compare | ( | std::string const & | s1, |
std::string const & | s2 | ||
) | [inline, protected] |
compares the lower-case representation of two strings
void openFile | ( | std::string const & | filename | ) | [inline, protected] |
Opens a file.
void operator() | ( | MeshType & | mesh_obj, |
SegmentationType & | segmentation, | ||
std::string const & | filename | ||
) | [inline] |
Triggers the read process.
mesh_obj | The mesh to which the file content is read |
segmentation | The segmentation to which the file content is read |
filename | Name of the file containing the mesh. Either .pvd (multi-segment) or .vtu (single segment) |
void operator() | ( | MeshType & | mesh_obj, |
std::string const & | filename | ||
) | [inline] |
Triggers the read process.
mesh_obj | The mesh to which the file content is read |
filename | Name of the file containing the mesh. Either .pvd (multi-segment) or .vtu (single segment) |
void parse_vtu_segment | ( | std::string | filename, |
segment_id_type | seg_id | ||
) | [inline, protected] |
Parses a .vtu file referring to a segment of the mesh.
void post_clear | ( | ) | [inline, protected] |
void pre_clear | ( | ) | [inline, protected] |
void process_pvd | ( | std::string const & | filename | ) | [inline, protected] |
Processes a .pvd file containing the links to the segments stored in individual .vtu files.
void process_vtu | ( | std::string const & | filename | ) | [inline, protected] |
Processes a .vtu file that represents a full mesh.
void readCellIndices | ( | segment_id_type | seg_id | ) | [inline, protected] |
Reads the vertex indices of the cells inside the mesh.
void readData | ( | std::deque< double > & | container | ) | [inline, protected] |
Read data and push it to a container. Helper function.
void readNodeCoordinates | ( | std::size_t | nodeNum, |
std::size_t | numberOfComponents, | ||
segment_id_type | seg_id | ||
) | [inline, protected] |
Reads the coordinates of the points/vertices in the mesh.
void readOffsets | ( | segment_id_type | seg_id | ) | [inline, protected] |
Read the cell offsets for the vertex indices.
void readPointCellData | ( | segment_id_type | seg_id, |
ContainerType & | scalar_data, | ||
ContainerType & | vector_data, | ||
NameContainerType & | data_names_scalar, | ||
NameContainerType & | data_names_vector | ||
) | [inline, protected] |
Read point or cell data and fill the respective data containers.
void readTypes | ( | ) | [inline, protected] |
Read the types of each cell.
void register_cell_scalar | ( | AccessorOrFieldType | accessor_or_field, |
std::string const & | quantity_name | ||
) | [inline] |
Registers a cell scalar accessor/field with a given quantity name.
void register_cell_scalar | ( | segment_id_type | seg_id, |
AccessorOrFieldType | accessor_or_field, | ||
std::string const & | quantity_name | ||
) | [inline] |
Registers a cell scalar accessor/field with a given quantity name for a given segment ID.
void register_cell_scalar | ( | SegmentHandleType const & | segment, |
AccessorOrFieldType | accessor_or_field, | ||
std::string const & | quantity_name | ||
) | [inline] |
Registers a cell scalar accessor/field with a given quantity name for a given segment.
void register_cell_vector | ( | AccessorOrFieldType | accessor_or_field, |
std::string const & | quantity_name | ||
) | [inline] |
Registers a cell vector accessor/field with a given quantity name.
void register_cell_vector | ( | segment_id_type | seg_id, |
AccessorOrFieldType | accessor_or_field, | ||
std::string const & | quantity_name | ||
) | [inline] |
Registers a cell vector accessor/field with a given quantity name for a given segment ID.
void register_cell_vector | ( | SegmentHandleType const & | segment, |
AccessorOrFieldType | accessor_or_field, | ||
std::string const & | quantity_name | ||
) | [inline] |
Registers a cell vector accessor/field with a given quantity name for a given segment.
void register_vertex_scalar | ( | AccessorOrFieldType | accessor_or_field, |
std::string const & | quantity_name | ||
) | [inline] |
Registers a vertex scalar accessor/field with a given quantity name.
void register_vertex_scalar | ( | segment_id_type | seg_id, |
AccessorOrFieldType | accessor_or_field, | ||
std::string const & | quantity_name | ||
) | [inline] |
Registers a vertex scalar accessor/field with a given quantity name for a given segment ID.
void register_vertex_scalar | ( | SegmentHandleType const & | segment, |
AccessorOrFieldType | accessor_or_field, | ||
std::string const & | quantity_name | ||
) | [inline] |
Registers a vertex scalar accessor/field with a given quantity name for a given segment.
void register_vertex_vector | ( | AccessorOrFieldType | accessor_or_field, |
std::string const & | quantity_name | ||
) | [inline] |
Registers a vertex vector accessor/field with a given quantity name.
void register_vertex_vector | ( | segment_id_type | seg_id, |
AccessorOrFieldType | accessor_or_field, | ||
std::string const & | quantity_name | ||
) | [inline] |
Registers a vertex vector accessor/field with a given quantity name for a given segment ID.
void register_vertex_vector | ( | SegmentHandleType const & | segment, |
AccessorOrFieldType | accessor_or_field, | ||
std::string const & | quantity_name | ||
) | [inline] |
Registers a vertex vector accessor/field with a given quantity name for a given segment.
std::vector<std::string> scalar_cell_data_names | ( | segment_id_type | segment_id | ) | const [inline] |
Returns the data names of all scalar cell data read.
std::vector<std::string> scalar_vertex_data_names | ( | segment_id_type | segment_id | ) | const [inline] |
Returns the data names of all scalar vertex data read.
void setupCells | ( | MeshType & | mesh_obj, |
SegmentationType & | segmentation, | ||
segment_id_type | seg_id | ||
) | [inline, protected] |
Pushes the cells read to the mesh. Preserves segment information.
void setupData | ( | MeshType & | mesh_obj, |
SegmentationType & | segmentation, | ||
segment_id_type | seg_id | ||
) | [inline, protected] |
Writes all data read from files to the mesh.
void setupDataCell | ( | MeshType & | , |
SegmentHandleType & | segment, | ||
segment_id_type | seg_id, | ||
ContainerType const & | container, | ||
std::size_t | num_components | ||
) | [inline, protected] |
Writes data for cells to the ViennaGrid mesh using ViennaData.
void setupDataVertex | ( | MeshType & | mesh_obj, |
SegmentHandleType & | segment, | ||
segment_id_type | seg_id, | ||
ContainerType const & | container, | ||
std::size_t | num_components | ||
) | [inline, protected] |
Writes data for vertices to the ViennaGrid mesh using ViennaData.
void setupVertices | ( | MeshType & | mesh_obj | ) | [inline, protected] |
Pushes the vertices read to the mesh.
std::vector<std::string> vector_cell_data_names | ( | segment_id_type | segment_id | ) | const [inline] |
Returns the data names of all vector cell data read.
std::vector<std::string> vector_vertex_data_names | ( | segment_id_type | segment_id | ) | const [inline] |
Returns the data names of all vector vertex data read.
viennagrid::result_of::field<const std::deque<double>, VertexType >::type vertex_scalar_field | ( | std::string const & | quantity_name, |
segment_id_type | seg_id | ||
) | const [inline] |
Returns the vertex scalar field for a given quantity name and a given segment ID. If the quantity name was registered before an invalid field is returned.
viennagrid::result_of::field<const std::deque<double>, VertexType >::type vertex_scalar_field | ( | std::string const & | quantity_name, |
SegmentHandleType const & | segment | ||
) | const [inline] |
Returns the vertex scalar field for a given quantity name and a given segment. If the quantity name was registered before an invalid field is returned.
viennagrid::result_of::field<const std::deque<vector_data_type>, VertexType >::type vertex_vector_field | ( | std::string const & | quantity_name, |
segment_id_type | seg_id | ||
) | const [inline] |
Returns the vertex vector field for a given quantity name and a given segment ID. If the quantity name was registered before an invalid field is returned.
viennagrid::result_of::field<const std::deque<vector_data_type>, VertexType >::type vertex_vector_field | ( | std::string const & | quantity_name, |
SegmentHandleType const & | segment | ||
) | [inline] |
Returns the vertex vector field for a given quantity name and a given segment. If the quantity name was registered before an invalid field is returned.
const int geometric_dim = viennagrid::result_of::static_size<PointType>::value [static, protected] |
std::map<CellElementKeyType, CellHandleType> global_cells [protected] |
std::map<PointType, std::size_t, point_less> global_points [protected] |
std::map<std::size_t, PointType> global_points_2 [protected] |
std::map<int, std::deque<CellHandleType> > local_cell_handle [protected] |
std::map<int, std::size_t> local_cell_num [protected] |
std::map<int, std::deque<std::size_t> > local_cell_offsets [protected] |
std::map<int, std::deque<std::size_t> > local_cell_vertices [protected] |
std::map<int, std::deque<std::pair<std::string, std::deque<double> > > > local_scalar_cell_data [protected] |
std::map<int, std::deque<std::pair<std::string, std::deque<double> > > > local_scalar_vertex_data [protected] |
std::map<int, std::deque<std::size_t> > local_to_global_map [protected] |
std::map<int, std::deque<std::pair<std::string, std::deque<double> > > > local_vector_cell_data [protected] |
std::map<int, std::deque<std::pair<std::string, std::deque<double> > > > local_vector_vertex_data [protected] |
std::ifstream reader [protected] |