FEI Package Browser (Single Doxygen Collection)
Version of the Day
|
#include <PoissonData.hpp>
Public Member Functions | |
PoissonData (int L, int numProcs, int localProc, int outputLevel) | |
~PoissonData () | |
int | getElemFormat () |
int | getNumFields () |
int * | getFieldSizes () |
int * | getFieldIDs () |
GlobalID | getElemBlockID () |
int | getNumLocalElements () |
GlobalID * | getLocalElementIDs () |
int | getNumNodesPerElement () |
int * | getNumFieldsPerNodeList () |
int ** | getNodalFieldIDsTable () |
GlobalID * | getElementConnectivity (GlobalID elemID) |
double ** | getElemStiffness (GlobalID elemID) |
double * | getElemLoad (GlobalID elemID) |
void | addBCNode (GlobalID nodeID, double x, double y) |
void | calculateBCs () |
int | getNumBCNodes () |
GlobalID * | getBCNodeIDs () |
int | getBCFieldID () |
double * | getBCValues () |
void | getLeftSharedNodes (int &numShared, GlobalID *sharedNodeIDs, int *numProcsPerSharedNode, int **sharingProcs) |
void | getRightSharedNodes (int &numShared, GlobalID *sharedNodeIDs, int *numProcsPerSharedNode, int **sharingProcs) |
void | getTopSharedNodes (int &numShared, GlobalID *sharedNodeIDs, int *numProcsPerSharedNode, int **sharingProcs) |
void | getBottomSharedNodes (int &numShared, GlobalID *sharedNodeIDs, int *numProcsPerSharedNode, int **sharingProcs) |
Private Member Functions | |
void | check1 () |
void | calculateDistribution () |
void | messageAbort (const char *message) |
void | calculateConnectivity (GlobalID *conn, int size, GlobalID elemID) |
void | initializeFieldStuff () |
void | deleteFieldArrays () |
void | printSharedNodes (const char *str, int numShared, GlobalID *nodeIDs, int **shareProcs, int *numShareProcs) |
Private Attributes | |
Poisson_Elem * | elem_ |
int | numLocalElements_ |
int | startElement_ |
int | numProcs_ |
int | localProc_ |
int | outputLevel_ |
int | L_ |
int | procX_ |
int | procY_ |
int | maxProcX_ |
int | maxProcY_ |
int | numElemBlocks_ |
int | solveType_ |
int | nodesPerElement_ |
int | fieldsPerNode_ |
GlobalID | elemBlockID_ |
int | elemSetID_ |
int | elemFormat_ |
int | fieldSize_ |
int * | numFields_ |
int ** | fieldIDs_ |
bool | fieldArraysAllocated_ |
GlobalID * | elemIDs_ |
bool | elemIDsAllocated_ |
std::vector< GlobalID > | BCNodeIDs_ |
std::vector< double > | BCValues_ |
Definition at line 30 of file PoissonData.hpp.
PoissonData::PoissonData | ( | int | L, |
int | numProcs, | ||
int | localProc, | ||
int | outputLevel | ||
) |
Definition at line 30 of file PoissonData.cpp.
References Poisson_Elem::allocateInternals(), Poisson_Elem::allocateLoad(), Poisson_Elem::allocateStiffness(), calculateDistribution(), check1(), elem_, elemBlockID_, elemFormat_, elemIDs_, elemIDsAllocated_, elemSetID_, fieldArraysAllocated_, fieldIDs_, fieldsPerNode_, initializeFieldStuff(), L_, fei::localProc(), localProc_, messageAbort(), nodesPerElement_, numElemBlocks_, numFields_, numLocalElements_, fei::numProcs(), numProcs_, outputLevel_, and startElement_.
PoissonData::~PoissonData | ( | ) |
Definition at line 83 of file PoissonData.cpp.
References deleteFieldArrays(), Poisson_Elem::deleteMemory(), elem_, elemIDs_, and elemIDsAllocated_.
|
inline |
Definition at line 40 of file PoissonData.hpp.
References elemFormat_.
Referenced by load_elem_data(), and load_elem_data_putrhs().
|
inline |
Definition at line 43 of file PoissonData.hpp.
Referenced by main(), poisson3_main(), and poisson_main().
|
inline |
Definition at line 44 of file PoissonData.hpp.
References fieldSize_.
Referenced by main(), poisson3_main(), and poisson_main().
|
inline |
Definition at line 45 of file PoissonData.hpp.
References fieldIDs_.
Referenced by load_elem_data_putrhs(), main(), poisson3_main(), and poisson_main().
|
inline |
Definition at line 47 of file PoissonData.hpp.
References elemBlockID_.
Referenced by init_elem_connectivities(), load_elem_data(), and load_elem_data_putrhs().
|
inline |
Definition at line 49 of file PoissonData.hpp.
References numLocalElements_.
Referenced by init_elem_connectivities(), load_elem_data(), load_elem_data_putrhs(), and set_shared_nodes().
|
inline |
Definition at line 50 of file PoissonData.hpp.
References elemIDs_.
Referenced by init_elem_connectivities(), load_elem_data(), and load_elem_data_putrhs().
|
inline |
Definition at line 51 of file PoissonData.hpp.
References elem_, and Poisson_Elem::numElemNodes().
Referenced by init_elem_connectivities(), and load_elem_data_putrhs().
|
inline |
Definition at line 53 of file PoissonData.hpp.
References numFields_.
Referenced by init_elem_connectivities().
|
inline |
Definition at line 54 of file PoissonData.hpp.
References fieldIDs_.
Referenced by init_elem_connectivities().
Definition at line 180 of file PoissonData.cpp.
References calculateConnectivity(), elem_, Poisson_Elem::getElemConnPtr(), L_, messageAbort(), Poisson_Elem::setElemID(), Poisson_Elem::setElemLength(), and Poisson_Elem::setTotalLength().
Referenced by init_elem_connectivities(), load_elem_data(), and load_elem_data_putrhs().
double ** PoissonData::getElemStiffness | ( | GlobalID | elemID | ) |
Definition at line 199 of file PoissonData.cpp.
References calculateConnectivity(), Poisson_Elem::calculateCoords(), Poisson_Elem::calculateStiffness(), elem_, FEI_COUT, FEI_ENDL, Poisson_Elem::getElemConnPtr(), Poisson_Elem::getElemStiff(), Poisson_Elem::getNodalX(), Poisson_Elem::getNodalY(), L_, localProc_, messageAbort(), outputLevel_, Poisson_Elem::setElemID(), Poisson_Elem::setElemLength(), and Poisson_Elem::setTotalLength().
Referenced by load_elem_data(), and load_elem_data_putrhs().
double * PoissonData::getElemLoad | ( | GlobalID | elemID | ) |
Definition at line 232 of file PoissonData.cpp.
References calculateConnectivity(), Poisson_Elem::calculateCoords(), Poisson_Elem::calculateLoad(), elem_, FEI_COUT, FEI_ENDL, Poisson_Elem::getElemConnPtr(), Poisson_Elem::getElemLoad(), Poisson_Elem::getNodalX(), Poisson_Elem::getNodalY(), L_, localProc_, messageAbort(), outputLevel_, Poisson_Elem::setElemID(), Poisson_Elem::setElemLength(), and Poisson_Elem::setTotalLength().
Referenced by load_elem_data(), and load_elem_data_putrhs().
void PoissonData::addBCNode | ( | GlobalID | nodeID, |
double | x, | ||
double | y | ||
) |
Definition at line 738 of file PoissonData.cpp.
References BCNodeIDs_, and BCValues_.
Referenced by calculateBCs().
void PoissonData::calculateBCs | ( | ) |
Definition at line 703 of file PoissonData.cpp.
References addBCNode(), calculateConnectivity(), Poisson_Elem::calculateCoords(), elem_, elemIDs_, Poisson_Elem::getElemConnPtr(), Poisson_Elem::getNodalX(), Poisson_Elem::getNodalY(), L_, messageAbort(), numLocalElements_, Poisson_Elem::setElemID(), Poisson_Elem::setElemLength(), and Poisson_Elem::setTotalLength().
Referenced by load_BC_data().
|
inline |
|
inline |
|
inline |
|
inline |
void PoissonData::getLeftSharedNodes | ( | int & | numShared, |
GlobalID * | sharedNodeIDs, | ||
int * | numProcsPerSharedNode, | ||
int ** | sharingProcs | ||
) |
Definition at line 336 of file PoissonData.cpp.
References calculateConnectivity(), elem_, elemIDs_, Poisson_Elem::getElemConnPtr(), int_sqrt(), localProc_, maxProcY_, messageAbort(), numLocalElements_, numProcs_, procX_, procY_, and Poisson_Elem::setElemID().
Referenced by set_shared_nodes().
void PoissonData::getRightSharedNodes | ( | int & | numShared, |
GlobalID * | sharedNodeIDs, | ||
int * | numProcsPerSharedNode, | ||
int ** | sharingProcs | ||
) |
Definition at line 426 of file PoissonData.cpp.
References calculateConnectivity(), elem_, elemIDs_, Poisson_Elem::getElemConnPtr(), int_sqrt(), localProc_, maxProcX_, messageAbort(), numLocalElements_, numProcs_, procX_, procY_, and Poisson_Elem::setElemID().
Referenced by set_shared_nodes().
void PoissonData::getTopSharedNodes | ( | int & | numShared, |
GlobalID * | sharedNodeIDs, | ||
int * | numProcsPerSharedNode, | ||
int ** | sharingProcs | ||
) |
Definition at line 513 of file PoissonData.cpp.
References calculateConnectivity(), elem_, elemIDs_, Poisson_Elem::getElemConnPtr(), int_sqrt(), localProc_, maxProcX_, maxProcY_, messageAbort(), numLocalElements_, numProcs_, procX_, procY_, and Poisson_Elem::setElemID().
Referenced by set_shared_nodes().
void PoissonData::getBottomSharedNodes | ( | int & | numShared, |
GlobalID * | sharedNodeIDs, | ||
int * | numProcsPerSharedNode, | ||
int ** | sharingProcs | ||
) |
Definition at line 600 of file PoissonData.cpp.
References calculateConnectivity(), elem_, elemIDs_, Poisson_Elem::getElemConnPtr(), int_sqrt(), localProc_, messageAbort(), numLocalElements_, numProcs_, procX_, procY_, and Poisson_Elem::setElemID().
Referenced by set_shared_nodes().
|
private |
Definition at line 97 of file PoissonData.cpp.
References int_sqrt(), L_, localProc_, messageAbort(), numProcs_, and outputLevel_.
Referenced by PoissonData().
|
private |
Definition at line 114 of file PoissonData.cpp.
References elemIDs_, elemIDsAllocated_, FEI_COUT, FEI_ENDL, int_sqrt(), L_, localProc_, maxProcX_, maxProcY_, messageAbort(), numLocalElements_, numProcs_, outputLevel_, procX_, procY_, and startElement_.
Referenced by PoissonData().
|
private |
Definition at line 173 of file PoissonData.cpp.
References fei::console_out(), and FEI_ENDL.
Referenced by calculateBCs(), calculateDistribution(), check1(), getBottomSharedNodes(), getElementConnectivity(), getElemLoad(), getElemStiffness(), getLeftSharedNodes(), getRightSharedNodes(), getTopSharedNodes(), and PoissonData().
Definition at line 266 of file PoissonData.cpp.
References L_.
Referenced by calculateBCs(), getBottomSharedNodes(), getElementConnectivity(), getElemLoad(), getElemStiffness(), getLeftSharedNodes(), getRightSharedNodes(), and getTopSharedNodes().
|
private |
Definition at line 300 of file PoissonData.cpp.
References fieldArraysAllocated_, fieldIDs_, fieldSize_, fieldsPerNode_, nodesPerElement_, and numFields_.
Referenced by PoissonData().
|
private |
Definition at line 321 of file PoissonData.cpp.
References fieldArraysAllocated_, fieldIDs_, nodesPerElement_, and numFields_.
Referenced by ~PoissonData().
|
private |
Definition at line 688 of file PoissonData.cpp.
References FEI_COUT, FEI_ENDL, and localProc_.
|
private |
Definition at line 99 of file PoissonData.hpp.
Referenced by calculateBCs(), getBottomSharedNodes(), getElementConnectivity(), getElemLoad(), getElemStiffness(), getLeftSharedNodes(), getNumNodesPerElement(), getRightSharedNodes(), getTopSharedNodes(), PoissonData(), and ~PoissonData().
|
private |
Definition at line 100 of file PoissonData.hpp.
Referenced by calculateBCs(), calculateDistribution(), getBottomSharedNodes(), getLeftSharedNodes(), getNumLocalElements(), getRightSharedNodes(), getTopSharedNodes(), and PoissonData().
|
private |
Definition at line 101 of file PoissonData.hpp.
Referenced by calculateDistribution(), and PoissonData().
|
private |
Definition at line 103 of file PoissonData.hpp.
Referenced by calculateDistribution(), check1(), getBottomSharedNodes(), getLeftSharedNodes(), getRightSharedNodes(), getTopSharedNodes(), and PoissonData().
|
private |
Definition at line 104 of file PoissonData.hpp.
Referenced by calculateDistribution(), check1(), getBottomSharedNodes(), getElemLoad(), getElemStiffness(), getLeftSharedNodes(), getRightSharedNodes(), getTopSharedNodes(), PoissonData(), and printSharedNodes().
|
private |
Definition at line 105 of file PoissonData.hpp.
Referenced by calculateDistribution(), check1(), getElemLoad(), getElemStiffness(), and PoissonData().
|
private |
Definition at line 107 of file PoissonData.hpp.
Referenced by calculateBCs(), calculateConnectivity(), calculateDistribution(), check1(), getElementConnectivity(), getElemLoad(), getElemStiffness(), and PoissonData().
|
private |
Definition at line 108 of file PoissonData.hpp.
Referenced by calculateDistribution(), getBottomSharedNodes(), getLeftSharedNodes(), getRightSharedNodes(), and getTopSharedNodes().
|
private |
Definition at line 108 of file PoissonData.hpp.
Referenced by calculateDistribution(), getBottomSharedNodes(), getLeftSharedNodes(), getRightSharedNodes(), and getTopSharedNodes().
|
private |
Definition at line 109 of file PoissonData.hpp.
Referenced by calculateDistribution(), getRightSharedNodes(), and getTopSharedNodes().
|
private |
Definition at line 109 of file PoissonData.hpp.
Referenced by calculateDistribution(), getLeftSharedNodes(), and getTopSharedNodes().
|
private |
Definition at line 111 of file PoissonData.hpp.
Referenced by PoissonData().
|
private |
Definition at line 112 of file PoissonData.hpp.
|
private |
Definition at line 114 of file PoissonData.hpp.
Referenced by deleteFieldArrays(), initializeFieldStuff(), and PoissonData().
|
private |
Definition at line 115 of file PoissonData.hpp.
Referenced by initializeFieldStuff(), and PoissonData().
|
private |
Definition at line 116 of file PoissonData.hpp.
Referenced by getElemBlockID(), and PoissonData().
|
private |
Definition at line 117 of file PoissonData.hpp.
Referenced by PoissonData().
|
private |
Definition at line 118 of file PoissonData.hpp.
Referenced by getElemFormat(), and PoissonData().
|
private |
Definition at line 121 of file PoissonData.hpp.
Referenced by getFieldSizes(), and initializeFieldStuff().
|
private |
Definition at line 122 of file PoissonData.hpp.
Referenced by deleteFieldArrays(), getNumFieldsPerNodeList(), initializeFieldStuff(), and PoissonData().
|
private |
Definition at line 123 of file PoissonData.hpp.
Referenced by deleteFieldArrays(), getBCFieldID(), getFieldIDs(), getNodalFieldIDsTable(), initializeFieldStuff(), and PoissonData().
|
private |
Definition at line 124 of file PoissonData.hpp.
Referenced by deleteFieldArrays(), initializeFieldStuff(), and PoissonData().
|
private |
Definition at line 127 of file PoissonData.hpp.
Referenced by calculateBCs(), calculateDistribution(), getBottomSharedNodes(), getLeftSharedNodes(), getLocalElementIDs(), getRightSharedNodes(), getTopSharedNodes(), PoissonData(), and ~PoissonData().
|
private |
Definition at line 128 of file PoissonData.hpp.
Referenced by calculateDistribution(), PoissonData(), and ~PoissonData().
|
private |
Definition at line 131 of file PoissonData.hpp.
Referenced by addBCNode(), getBCNodeIDs(), and getNumBCNodes().
|
private |
Definition at line 132 of file PoissonData.hpp.
Referenced by addBCNode(), and getBCValues().