#include <exodusII_io_helper.h>
Public Member Functions | |
Conversion (const int *nm, size_t nm_size, const int *inm, size_t inm_size, const int *sm, size_t sm_size, const int *ism, size_t ism_size, const ElemType ct, std::string ex_type) | |
Conversion (const int *nm, size_t nm_size, const int *inm, size_t inm_size, const int *sm, size_t sm_size, const int *ism, size_t ism_size, const int *sfm, size_t sfm_size, const int *isfm, size_t isfm_size, size_t sfi_offset, const ElemType ct, std::string ex_type) | |
int | get_node_map (int i) const |
int | get_inverse_node_map (int i) const |
int | get_side_map (int i) const |
int | get_inverse_side_map (int i) const |
int | get_shellface_map (int i) const |
int | get_inverse_shellface_map (int i) const |
ElemType | get_canonical_type () const |
std::string | exodus_elem_type () const |
std::size_t | get_shellface_index_offset () const |
Static Public Attributes | |
static const int | invalid_id = std::numeric_limits<int>::max() |
Private Attributes | |
const int * | node_map |
size_t | node_map_size |
const int * | inverse_node_map |
size_t | inverse_node_map_size |
const int * | side_map |
size_t | side_map_size |
const int * | inverse_side_map |
size_t | inverse_side_map_size |
const int * | shellface_map |
size_t | shellface_map_size |
const int * | inverse_shellface_map |
size_t | inverse_shellface_map_size |
size_t | shellface_index_offset |
const ElemType | canonical_type |
const std::string | exodus_type |
Definition at line 669 of file exodusII_io_helper.h.
|
inline |
Constructor. Initializes the const private member variables.
Definition at line 677 of file exodusII_io_helper.h.
|
inline |
Constructor. Initializes the const private member variables. In this case we also initialize shellface data.
Definition at line 708 of file exodusII_io_helper.h.
References inverse_node_map_size, inverse_shellface_map_size, inverse_side_map_size, libMesh::libmesh_ignore(), node_map_size, and shellface_map_size.
|
inline |
Definition at line 826 of file exodusII_io_helper.h.
References exodus_type.
Referenced by libMesh::Nemesis_IO_Helper::write_elements(), and libMesh::ExodusII_IO_Helper::write_elements().
|
inline |
The canonical element type is the standard element type understood by this library.
Definition at line 821 of file exodusII_io_helper.h.
References canonical_type.
Referenced by libMesh::Nemesis_IO_Helper::build_element_and_node_maps(), and libMesh::ExodusII_IO_Helper::write_elements().
|
inline |
The inverse node map maps the libmesh node numbering to Exodus' node numbering.
Definition at line 770 of file exodusII_io_helper.h.
References inverse_node_map, and inverse_node_map_size.
Referenced by libMesh::ExodusII_IO_Helper::write_elements().
|
inline |
Definition at line 809 of file exodusII_io_helper.h.
References inverse_shellface_map, and inverse_shellface_map_size.
Referenced by libMesh::ExodusII_IO_Helper::write_sidesets().
|
inline |
The side map maps the libMesh side numbering format to this exodus's format.
Definition at line 790 of file exodusII_io_helper.h.
References inverse_side_map, and inverse_side_map_size.
Referenced by libMesh::Nemesis_IO_Helper::compute_internal_and_border_elems_and_internal_nodes(), libMesh::Nemesis_IO_Helper::write_sidesets(), and libMesh::ExodusII_IO_Helper::write_sidesets().
|
inline |
The node map maps the exodusII node numbering format to this library's format.
Definition at line 754 of file exodusII_io_helper.h.
References node_map, and node_map_size.
Referenced by libMesh::Nemesis_IO_Helper::build_element_and_node_maps().
|
inline |
Definition at line 831 of file exodusII_io_helper.h.
References shellface_index_offset.
Referenced by libMesh::ExodusII_IO::read().
|
inline |
Definition at line 800 of file exodusII_io_helper.h.
References shellface_map, and shellface_map_size.
int libMesh::ExodusII_IO_Helper::Conversion::get_side_map | ( | int | i | ) | const |
The side map maps the exodusII side numbering format to this library's format.
Definition at line 2491 of file exodusII_io_helper.C.
Referenced by libMesh::Nemesis_IO::read(), and libMesh::ExodusII_IO::read().
|
private |
The canonical (i.e. standard for this library) element type.
Definition at line 920 of file exodusII_io_helper.h.
Referenced by get_canonical_type().
|
private |
The string corresponding to the Exodus type for this element
Definition at line 925 of file exodusII_io_helper.h.
Referenced by exodus_elem_type().
|
static |
An invalid_id that can be returned to signal failure in case something goes wrong.
Definition at line 837 of file exodusII_io_helper.h.
Referenced by libMesh::ExodusII_IO::read().
|
private |
Pointer to the inverse node map for this element. For all elements except for the Hex27, this is the same as the node map.
Definition at line 856 of file exodusII_io_helper.h.
Referenced by get_inverse_node_map().
|
private |
The size of the inverse node map array, this helps with bounds checking and is only used in asserts.
Definition at line 862 of file exodusII_io_helper.h.
Referenced by Conversion(), and get_inverse_node_map().
|
private |
Pointer to the inverse shellface map for this element.
Definition at line 901 of file exodusII_io_helper.h.
Referenced by get_inverse_shellface_map().
|
private |
The size of the inverse shellface map array, this helps with bounds checking and is only used in asserts.
Definition at line 907 of file exodusII_io_helper.h.
Referenced by Conversion(), and get_inverse_shellface_map().
|
private |
Pointer to the inverse side map for this element.
Definition at line 877 of file exodusII_io_helper.h.
Referenced by get_inverse_side_map().
|
private |
The size of the inverse side map array, this helps with bounds checking and is only used in asserts.
Definition at line 883 of file exodusII_io_helper.h.
Referenced by Conversion(), and get_inverse_side_map().
|
private |
Pointer to the node map for this element.
Definition at line 843 of file exodusII_io_helper.h.
Referenced by get_node_map().
|
private |
The size of the node map array, this helps with bounds checking and is only used in asserts.
Definition at line 849 of file exodusII_io_helper.h.
Referenced by Conversion(), and get_node_map().
|
private |
The shellface index offset defines the offset due to a difference between libMesh and Exodus in indexing sidesets. This is relevant for shell elements, for example, since Exodus includes extra "shell face" sides in that case.
Definition at line 914 of file exodusII_io_helper.h.
Referenced by get_shellface_index_offset().
|
private |
Pointer to the shellface map for this element. Only the inverse is actually used currently, this one is provided for completeness and libmesh_ingore()d to avoid warnings.
Definition at line 890 of file exodusII_io_helper.h.
Referenced by get_shellface_map().
|
private |
The size of the shellface map array, this helps with bounds checking and is only used in asserts.
Definition at line 896 of file exodusII_io_helper.h.
Referenced by Conversion(), and get_shellface_map().
|
private |
Pointer to the side map for this element.
Definition at line 867 of file exodusII_io_helper.h.
|
private |
The size of the side map array, this helps with bounds checking...
Definition at line 872 of file exodusII_io_helper.h.