basso::FEInput Class Reference

Virtual base class for reading finite element data from input files. More...

#include <FEInput.h>

Inheritance diagram for basso::FEInput:

basso::Input basso::GmshInput basso::GmshVer1Input basso::NastranInput List of all members.

Public Member Functions

 FEInput ()
 FEInput (const String &file)
virtual void ReadNodes (Array< Node > &nodes)=0
virtual void AddElements (list< Element > &elem, int pid=-999) const =0
virtual void AddElements (list< Element > &elem, iArray &pids) const
virtual void AddNodeSet (set< int > &nid, int sid) const =0
virtual void AddNodeSet (set< int > &nid, const iArray &sids) const

Protected Member Functions

void SetNodeMap (const iArray &nids)
void RenumberNodeIds (list< Element > &elem) const
void RenumberNodeIds (set< int > &nids) const

Protected Attributes

map< int, int > mNodeMap

Detailed Description

Virtual base class for reading finite element data from input files.

Definition at line 27 of file FEInput.h.


Constructor & Destructor Documentation

basso::FEInput::FEInput (  )  [inline]

void contructor

Definition at line 31 of file FEInput.h.

basso::FEInput::FEInput ( const String &  file  )  [inline]

Contructor where the file name is defined

Definition at line 34 of file FEInput.h.


Member Function Documentation

virtual void basso::FEInput::ReadNodes ( Array< Node > &  nodes  )  [pure virtual]

read all the nodes defined in the input file

Parameters:
nodes array where nodees are to be read

Implemented in basso::GmshInput, basso::GmshVer1Input, and basso::NastranInput.

virtual void basso::FEInput::AddElements ( list< Element > &  elem,
int  pid = -999 
) const [pure virtual]

read all the elements defined in the input file belonging to a particular part id number. The elements read are added to the original element list.

Parameters:
elem list of Elements to be augmented with those in the input file
pid Part id number of the elements to be read If the pid is omitted all elements will be read

Implemented in basso::GmshInput, basso::GmshVer1Input, and basso::NastranInput.

Referenced by AddElements().

void basso::FEInput::AddElements ( list< Element > &  elem,
iArray &  pids 
) const [virtual]

read all the elements defined in the input file belonging to a particular part id number. The elements read are added to the original element list.

Parameters:
elem list of Elements to be augmented with those in the input file
pids array of Part id number of the elements to be read If the pid is omitted all elements will be read

Definition at line 115 of file FEInput.h.

References AddElements().

virtual void basso::FEInput::AddNodeSet ( set< int > &  nid,
int  sid 
) const [pure virtual]

read all the node ids defined in the input file belonging to a particular set id number. The node ids read are added to the original node id set.

Parameters:
nid set of int to be augmented with those in the input file
sid set id number of the node set to be read

Implemented in basso::GmshInput, basso::GmshVer1Input, and basso::NastranInput.

Referenced by AddNodeSet().

void basso::FEInput::AddNodeSet ( set< int > &  nid,
const iArray &  sids 
) const [virtual]

read all the node ids defined in the input file belonging to a particular set id number. The node ids read are added to the original node id set.

Parameters:
nid set of int to be augmented with those in the input file
sid array of set id number of the node set to be read

Definition at line 122 of file FEInput.h.

References AddNodeSet().


The documentation for this class was generated from the following file:
Generated on Sat Jan 19 09:03:58 2008 for Basso by  doxygen 1.5.2