#include <FEInput.h>
Inheritance diagram for basso::FEInput:
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 |
Definition at line 27 of file FEInput.h.
basso::FEInput::FEInput | ( | const String & | file | ) | [inline] |
virtual void basso::FEInput::ReadNodes | ( | Array< Node > & | nodes | ) | [pure virtual] |
read all the nodes defined in the input file
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.
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.
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.
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.
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().