FEI Package Browser (Single Doxygen Collection)
Version of the Day
|
#include <HexBeam.hpp>
Public Types | |
enum | { OneD = 0, TwoD = 1, ThreeD = 2 } |
Public Member Functions | |
HexBeam (int W, int D, int DofPerNode, int decomp, int numProcs, int localProc) | |
virtual | ~HexBeam () |
virtual bool | inErrorState () |
virtual int | numNodesPerElem () |
virtual int | numDofPerNode () |
virtual int | numLocalElems () |
virtual int | numLocalNodes () |
virtual int | firstLocalElem () |
virtual int | getElemConnectivity (int elemID, int *nodeIDs) |
virtual int | getElemStiffnessMatrix (int elemID, double *elemMat) |
virtual int | getElemLoadVector (int elemID, double *elemVec) |
virtual int | getNumBCNodes () |
virtual int | getBCNodes (int numNodes, int *nodeIDs) |
virtual int | getBCValues (int numBCNodes, int *offsetsIntoField, double *vals) |
virtual int | getNumSharedNodes () |
virtual int | getSharedNodes (int numSharedNodes, int *&sharedNodes, int *&numSharingProcsPerNode, int **&sharingProcs) |
virtual int | getNumCRs () |
virtual int | getNumNodesPerCR () |
virtual int | getCRNodes (int **nodeIDs) |
Public Attributes | |
int | W_ |
int | D_ |
int | decomp_ |
int | numProcs_ |
int | localProc_ |
int | totalNumElems_ |
int | totalNumNodes_ |
int | localNumElems_ |
int | localNumNodes_ |
int | firstLocalElem_ |
int | firstLocalNode_ |
int | numElemsPerSlice_ |
int | numNodesPerSlice_ |
int | numLocalSlices_ |
bool | inErrorState_ |
int | nodesPerElem_ |
int | dofPerNode_ |
int | numLocalDOF_ |
int | numGlobalDOF_ |
HexBeam is a data generator used for testing the FEI. It generates data that represents a cube of hex elements. More precisely, it's a cube that can be elongated in one dimension, forming an arbitrarily long 3D bar. The dimensions of the bar are WxWxD. In parallel runs, the bar is divided such that each processor has roughly D/numprocs "slices" each with WxW elements.
The slices that are separated by processor boundaries share common nodes, which are "shared nodes" in the global mesh.
Definition at line 24 of file HexBeam.hpp.
anonymous enum |
Enumerator | |
---|---|
OneD | |
TwoD | |
ThreeD |
Definition at line 26 of file HexBeam.hpp.
HexBeam::HexBeam | ( | int | W, |
int | D, | ||
int | DofPerNode, | ||
int | decomp, | ||
int | numProcs, | ||
int | localProc | ||
) |
Definition at line 16 of file HexBeam.cpp.
References fei::console_out(), dofPerNode_, FEI_ENDL, firstLocalElem_, firstLocalNode_, localNumElems_, localNumNodes_, numElemsPerSlice_, numGlobalDOF_, numLocalDOF_, numLocalSlices_, numNodesPerSlice_, fei::numProcs(), OneD, ThreeD, totalNumElems_, totalNumNodes_, and TwoD.
|
virtual |
Definition at line 72 of file HexBeam.cpp.
|
inlinevirtual |
Definition at line 32 of file HexBeam.hpp.
References inErrorState_.
|
inlinevirtual |
Definition at line 34 of file HexBeam.hpp.
References nodesPerElem_.
Referenced by HexBeam_Functions::init_elem_connectivities(), HexBeam_Functions::load_elem_data(), HexBeam_Functions::print_cube_data(), and time_raggedtable_insert().
|
inlinevirtual |
Definition at line 36 of file HexBeam.hpp.
References dofPerNode_.
Referenced by beam_main(), beam_oldfei_main(), HexBeam_Functions::init_slave_constraints(), HexBeam_Functions::load_constraints(), HexBeam_Functions::load_elem_data(), and main().
|
inlinevirtual |
Definition at line 38 of file HexBeam.hpp.
References localNumElems_.
Referenced by HexBeam_Functions::init_elem_connectivities(), HexBeam_Functions::print_cube_data(), and time_raggedtable_insert().
|
inlinevirtual |
Definition at line 40 of file HexBeam.hpp.
References localNumNodes_.
Referenced by time_raggedtable_insert().
|
inlinevirtual |
Definition at line 42 of file HexBeam.hpp.
References firstLocalElem_.
Referenced by HexBeam_Functions::init_elem_connectivities(), HexBeam_Functions::print_cube_data(), and time_raggedtable_insert().
|
virtual |
Reimplemented in HexBeamCR.
Definition at line 76 of file HexBeam.cpp.
References firstLocalElem_, localNumElems_, numElemsPerSlice_, numNodesPerSlice_, and W_.
Referenced by HexBeam_Functions::init_elem_connectivities(), HexBeam_Functions::load_elem_data(), HexBeam_Functions::print_cube_data(), and time_raggedtable_insert().
|
virtual |
Reimplemented in HexBeamCR.
Definition at line 102 of file HexBeam.cpp.
References dofPerNode_, firstLocalElem_, localNumElems_, and nodesPerElem_.
Referenced by HexBeam_Functions::load_elem_data().
|
virtual |
Reimplemented in HexBeamCR.
Definition at line 148 of file HexBeam.cpp.
References dofPerNode_, firstLocalElem_, localNumElems_, and nodesPerElem_.
Referenced by HexBeam_Functions::load_elem_data().
|
virtual |
Reimplemented in HexBeamCR.
Definition at line 162 of file HexBeam.cpp.
References numLocalSlices_, and W_.
Referenced by getBCNodes(), getBCValues(), and HexBeam_Functions::load_BC_data().
|
virtual |
Reimplemented in HexBeamCR.
Definition at line 168 of file HexBeam.cpp.
References firstLocalNode_, getNumBCNodes(), and W_.
Referenced by HexBeam_Functions::load_BC_data().
|
virtual |
Definition at line 183 of file HexBeam.cpp.
References getNumBCNodes().
Referenced by HexBeam_Functions::load_BC_data().
|
virtual |
Reimplemented in HexBeamCR.
Definition at line 197 of file HexBeam.cpp.
References localProc_, numNodesPerSlice_, and numProcs_.
Referenced by getSharedNodes(), and HexBeam_Functions::init_shared_nodes().
|
virtual |
Reimplemented in HexBeamCR.
Definition at line 209 of file HexBeam.cpp.
References firstLocalNode_, getNumSharedNodes(), localProc_, numLocalSlices_, numNodesPerSlice_, and numProcs_.
Referenced by HexBeam_Functions::init_shared_nodes().
|
inlinevirtual |
Reimplemented in HexBeamCR.
Definition at line 63 of file HexBeam.hpp.
Referenced by beam_main(), beam_oldfei_main(), HexBeam_Functions::init_constraints(), HexBeam_Functions::init_slave_constraints(), HexBeam_Functions::load_constraints(), and main().
|
inlinevirtual |
Reimplemented in HexBeamCR.
Definition at line 65 of file HexBeam.hpp.
Referenced by HexBeam_Functions::init_constraints(), HexBeam_Functions::init_slave_constraints(), and HexBeam_Functions::load_constraints().
|
inlinevirtual |
Reimplemented in HexBeamCR.
Definition at line 67 of file HexBeam.hpp.
Referenced by HexBeam_Functions::init_constraints(), HexBeam_Functions::init_slave_constraints(), and HexBeam_Functions::load_constraints().
int HexBeam::W_ |
Definition at line 69 of file HexBeam.hpp.
Referenced by HexBeamCR::getBCNodes(), getBCNodes(), HexBeamCR::getElemConnectivity(), getElemConnectivity(), HexBeamCR::getNumBCNodes(), and getNumBCNodes().
int HexBeam::D_ |
Definition at line 70 of file HexBeam.hpp.
int HexBeam::decomp_ |
Definition at line 71 of file HexBeam.hpp.
int HexBeam::numProcs_ |
Definition at line 72 of file HexBeam.hpp.
Referenced by HexBeamCR::getCRNodes(), HexBeamCR::getNumSharedNodes(), getNumSharedNodes(), HexBeamCR::getSharedNodes(), getSharedNodes(), and HexBeamCR::HexBeamCR().
int HexBeam::localProc_ |
Definition at line 73 of file HexBeam.hpp.
Referenced by HexBeamCR::getCRNodes(), HexBeamCR::getElemConnectivity(), HexBeamCR::getNumSharedNodes(), getNumSharedNodes(), HexBeamCR::getSharedNodes(), getSharedNodes(), and HexBeamCR::HexBeamCR().
int HexBeam::totalNumElems_ |
Definition at line 75 of file HexBeam.hpp.
Referenced by beam_main(), beam_oldfei_main(), HexBeam(), HexBeamCR::HexBeamCR(), and main().
int HexBeam::totalNumNodes_ |
Definition at line 76 of file HexBeam.hpp.
Referenced by HexBeam(), and HexBeamCR::HexBeamCR().
int HexBeam::localNumElems_ |
Definition at line 77 of file HexBeam.hpp.
Referenced by beam_main(), beam_oldfei_main(), HexBeamCR::getElemConnectivity(), getElemConnectivity(), HexBeamCR::getElemLoadVector(), getElemLoadVector(), HexBeamCR::getElemStiffnessMatrix(), getElemStiffnessMatrix(), HexBeam(), HexBeamCR::HexBeamCR(), HexBeam_Functions::init_elem_connectivities(), HexBeam_Functions::load_elem_data(), main(), and numLocalElems().
int HexBeam::localNumNodes_ |
Definition at line 78 of file HexBeam.hpp.
Referenced by HexBeamCR::getCRNodes(), HexBeam(), HexBeamCR::HexBeamCR(), and numLocalNodes().
int HexBeam::firstLocalElem_ |
Definition at line 79 of file HexBeam.hpp.
Referenced by firstLocalElem(), HexBeamCR::getElemConnectivity(), getElemConnectivity(), HexBeamCR::getElemLoadVector(), getElemLoadVector(), HexBeamCR::getElemStiffnessMatrix(), getElemStiffnessMatrix(), HexBeam(), HexBeamCR::HexBeamCR(), HexBeam_Functions::init_elem_connectivities(), and HexBeam_Functions::load_elem_data().
int HexBeam::firstLocalNode_ |
Definition at line 80 of file HexBeam.hpp.
Referenced by HexBeamCR::getBCNodes(), getBCNodes(), HexBeamCR::getCRNodes(), HexBeamCR::getSharedNodes(), getSharedNodes(), HexBeam(), and HexBeamCR::HexBeamCR().
int HexBeam::numElemsPerSlice_ |
Definition at line 82 of file HexBeam.hpp.
Referenced by HexBeamCR::getElemConnectivity(), getElemConnectivity(), HexBeam(), and HexBeamCR::HexBeamCR().
int HexBeam::numNodesPerSlice_ |
Definition at line 83 of file HexBeam.hpp.
Referenced by HexBeamCR::getCRNodes(), HexBeamCR::getElemConnectivity(), getElemConnectivity(), HexBeamCR::getNumSharedNodes(), getNumSharedNodes(), HexBeamCR::getSharedNodes(), getSharedNodes(), HexBeam(), and HexBeamCR::HexBeamCR().
int HexBeam::numLocalSlices_ |
Definition at line 84 of file HexBeam.hpp.
Referenced by HexBeamCR::getNumBCNodes(), getNumBCNodes(), HexBeamCR::getSharedNodes(), getSharedNodes(), HexBeam(), and HexBeamCR::HexBeamCR().
bool HexBeam::inErrorState_ |
Definition at line 86 of file HexBeam.hpp.
Referenced by HexBeamCR::HexBeamCR(), and inErrorState().
int HexBeam::nodesPerElem_ |
Definition at line 88 of file HexBeam.hpp.
Referenced by HexBeamCR::getElemLoadVector(), getElemLoadVector(), HexBeamCR::getElemStiffnessMatrix(), getElemStiffnessMatrix(), and numNodesPerElem().
int HexBeam::dofPerNode_ |
Definition at line 89 of file HexBeam.hpp.
Referenced by HexBeamCR::getBCGammaValues(), HexBeamCR::getElemLoadVector(), getElemLoadVector(), HexBeamCR::getElemStiffnessMatrix(), getElemStiffnessMatrix(), HexBeam(), HexBeamCR::HexBeamCR(), and numDofPerNode().
int HexBeam::numLocalDOF_ |
Definition at line 91 of file HexBeam.hpp.
Referenced by beam_main(), beam_oldfei_main(), HexBeam(), HexBeamCR::HexBeamCR(), and main().
int HexBeam::numGlobalDOF_ |
Definition at line 92 of file HexBeam.hpp.
Referenced by beam_main(), beam_oldfei_main(), HexBeam(), HexBeamCR::HexBeamCR(), and main().