ExodusII_IO_Helper::Conversion Class Reference

#include <exodusII_io_helper.h>

List of all members.

Public Member Functions

 Conversion (const int *nm, const int *sm, const int *ism, const ElemType ct, std::string ex_type)
int get_node_map (int i) const
int get_side_map (int i) const
int get_inverse_side_map (int i) const
ElemType get_canonical_type () const
std::string exodus_elem_type () const

Private Attributes

const int * node_map
const int * side_map
const int * inverse_side_map
const ElemType canonical_type
const std::string exodus_type


Detailed Description

Definition at line 592 of file exodusII_io_helper.h.


Constructor & Destructor Documentation

ExodusII_IO_Helper::Conversion::Conversion ( const int *  nm,
const int *  sm,
const int *  ism,
const ElemType  ct,
std::string  ex_type 
) [inline]

Constructor. Initializes the const private member variables.

Definition at line 600 of file exodusII_io_helper.h.

00601     : node_map(nm),       // Node map for this element
00602       side_map(sm),
00603       inverse_side_map(ism),
00604       canonical_type(ct),    // Element type name in this code
00605       exodus_type(ex_type)   // Element type in Exodus
00606   {}


Member Function Documentation

std::string ExodusII_IO_Helper::Conversion::exodus_elem_type (  )  const [inline]

Returns the string corresponding to the Exodus type for this element

Definition at line 639 of file exodusII_io_helper.h.

Referenced by ExodusII_IO_Helper::write_elements().

00639 { return exodus_type; };

ElemType ExodusII_IO_Helper::Conversion::get_canonical_type (  )  const [inline]

Returns the canonical element type for this element. The canonical element type is the standard element type understood by this library.

Definition at line 634 of file exodusII_io_helper.h.

References canonical_type.

Referenced by Nemesis_IO::read().

00634 { return canonical_type; }

int ExodusII_IO_Helper::Conversion::get_inverse_side_map ( int  i  )  const [inline]

Returns the ith component of the side map for this element. The side map maps the libMesh side numbering format to this exodus's format.

Definition at line 627 of file exodusII_io_helper.h.

References inverse_side_map.

Referenced by ExodusII_IO_Helper::write_sidesets().

00627 { return inverse_side_map[i]; }

int ExodusII_IO_Helper::Conversion::get_node_map ( int  i  )  const [inline]

Returns the ith component of the node map for this element. The node map maps the exodusII node numbering format to this library's format.

Definition at line 613 of file exodusII_io_helper.h.

References node_map.

Referenced by Nemesis_IO::read(), and ExodusII_IO_Helper::write_elements().

00613 { return node_map[i]; }

int ExodusII_IO_Helper::Conversion::get_side_map ( int  i  )  const [inline]

Returns the ith component of the side map for this element. The side map maps the exodusII side numbering format to this library's format.

Definition at line 620 of file exodusII_io_helper.h.

References side_map.

Referenced by ExodusII_IO::read().

00620 { return side_map[i]; }


Member Data Documentation

The canonical (i.e. standard for this library) element type.

Definition at line 662 of file exodusII_io_helper.h.

Referenced by get_canonical_type().

const std::string ExodusII_IO_Helper::Conversion::exodus_type [private]

The string corresponding to the Exodus type for this element

Definition at line 667 of file exodusII_io_helper.h.

Pointer to the inverse side map for this element.

Definition at line 656 of file exodusII_io_helper.h.

Referenced by get_inverse_side_map().

Pointer to the node map for this element.

Definition at line 639 of file exodusII_io_helper.h.

Referenced by get_node_map().

Pointer to the side map for this element.

Definition at line 651 of file exodusII_io_helper.h.

Referenced by get_side_map().


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

Site Created By: libMesh Developers
Last modified: November 25 2009 03:44:12.

Hosted By:
SourceForge.net Logo