FEI Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
PoissonData Class Reference

#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 ()
 
GlobalIDgetLocalElementIDs ()
 
int getNumNodesPerElement ()
 
int * getNumFieldsPerNodeList ()
 
int ** getNodalFieldIDsTable ()
 
GlobalIDgetElementConnectivity (GlobalID elemID)
 
double ** getElemStiffness (GlobalID elemID)
 
double * getElemLoad (GlobalID elemID)
 
void addBCNode (GlobalID nodeID, double x, double y)
 
void calculateBCs ()
 
int getNumBCNodes ()
 
GlobalIDgetBCNodeIDs ()
 
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_Elemelem_
 
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_
 
GlobalIDelemIDs_
 
bool elemIDsAllocated_
 
std::vector< GlobalIDBCNodeIDs_
 
std::vector< double > BCValues_
 

Detailed Description

Definition at line 30 of file PoissonData.hpp.

Constructor & Destructor Documentation

PoissonData::PoissonData ( int  L,
int  numProcs,
int  localProc,
int  outputLevel 
)
PoissonData::~PoissonData ( )

Member Function Documentation

int PoissonData::getElemFormat ( )
inline

Definition at line 40 of file PoissonData.hpp.

References elemFormat_.

Referenced by load_elem_data(), and load_elem_data_putrhs().

int PoissonData::getNumFields ( )
inline

Definition at line 43 of file PoissonData.hpp.

Referenced by main(), poisson3_main(), and poisson_main().

int* PoissonData::getFieldSizes ( )
inline

Definition at line 44 of file PoissonData.hpp.

References fieldSize_.

Referenced by main(), poisson3_main(), and poisson_main().

int* PoissonData::getFieldIDs ( )
inline

Definition at line 45 of file PoissonData.hpp.

References fieldIDs_.

Referenced by load_elem_data_putrhs(), main(), poisson3_main(), and poisson_main().

GlobalID PoissonData::getElemBlockID ( )
inline

Definition at line 47 of file PoissonData.hpp.

References elemBlockID_.

Referenced by init_elem_connectivities(), load_elem_data(), and load_elem_data_putrhs().

int PoissonData::getNumLocalElements ( )
inline
GlobalID* PoissonData::getLocalElementIDs ( )
inline

Definition at line 50 of file PoissonData.hpp.

References elemIDs_.

Referenced by init_elem_connectivities(), load_elem_data(), and load_elem_data_putrhs().

int PoissonData::getNumNodesPerElement ( )
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().

int* PoissonData::getNumFieldsPerNodeList ( )
inline

Definition at line 53 of file PoissonData.hpp.

References numFields_.

Referenced by init_elem_connectivities().

int** PoissonData::getNodalFieldIDsTable ( )
inline

Definition at line 54 of file PoissonData.hpp.

References fieldIDs_.

Referenced by init_elem_connectivities().

GlobalID * PoissonData::getElementConnectivity ( GlobalID  elemID)
double ** PoissonData::getElemStiffness ( GlobalID  elemID)
double * PoissonData::getElemLoad ( GlobalID  elemID)
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 ( )
int PoissonData::getNumBCNodes ( )
inline

Definition at line 65 of file PoissonData.hpp.

References BCNodeIDs_.

Referenced by load_BC_data().

GlobalID* PoissonData::getBCNodeIDs ( )
inline

Definition at line 66 of file PoissonData.hpp.

References BCNodeIDs_.

Referenced by load_BC_data().

int PoissonData::getBCFieldID ( )
inline

Definition at line 67 of file PoissonData.hpp.

References fieldIDs_.

Referenced by load_BC_data().

double* PoissonData::getBCValues ( )
inline

Definition at line 68 of file PoissonData.hpp.

References BCValues_.

Referenced by load_BC_data().

void PoissonData::getLeftSharedNodes ( int &  numShared,
GlobalID sharedNodeIDs,
int *  numProcsPerSharedNode,
int **  sharingProcs 
)
void PoissonData::getRightSharedNodes ( int &  numShared,
GlobalID sharedNodeIDs,
int *  numProcsPerSharedNode,
int **  sharingProcs 
)
void PoissonData::getTopSharedNodes ( int &  numShared,
GlobalID sharedNodeIDs,
int *  numProcsPerSharedNode,
int **  sharingProcs 
)
void PoissonData::getBottomSharedNodes ( int &  numShared,
GlobalID sharedNodeIDs,
int *  numProcsPerSharedNode,
int **  sharingProcs 
)
void PoissonData::check1 ( )
private

Definition at line 97 of file PoissonData.cpp.

References int_sqrt(), L_, localProc_, messageAbort(), numProcs_, and outputLevel_.

Referenced by PoissonData().

void PoissonData::calculateDistribution ( )
private
void PoissonData::messageAbort ( const char *  message)
private
void PoissonData::calculateConnectivity ( GlobalID conn,
int  size,
GlobalID  elemID 
)
private
void PoissonData::initializeFieldStuff ( )
private

Definition at line 300 of file PoissonData.cpp.

References fieldArraysAllocated_, fieldIDs_, fieldSize_, fieldsPerNode_, nodesPerElement_, and numFields_.

Referenced by PoissonData().

void PoissonData::deleteFieldArrays ( )
private

Definition at line 321 of file PoissonData.cpp.

References fieldArraysAllocated_, fieldIDs_, nodesPerElement_, and numFields_.

Referenced by ~PoissonData().

void PoissonData::printSharedNodes ( const char *  str,
int  numShared,
GlobalID nodeIDs,
int **  shareProcs,
int *  numShareProcs 
)
private

Definition at line 688 of file PoissonData.cpp.

References FEI_COUT, FEI_ENDL, and localProc_.

Member Data Documentation

Poisson_Elem* PoissonData::elem_
private
int PoissonData::numLocalElements_
private
int PoissonData::startElement_
private

Definition at line 101 of file PoissonData.hpp.

Referenced by calculateDistribution(), and PoissonData().

int PoissonData::numProcs_
private
int PoissonData::localProc_
private
int PoissonData::outputLevel_
private
int PoissonData::L_
private
int PoissonData::procX_
private
int PoissonData::procY_
private
int PoissonData::maxProcX_
private

Definition at line 109 of file PoissonData.hpp.

Referenced by calculateDistribution(), getRightSharedNodes(), and getTopSharedNodes().

int PoissonData::maxProcY_
private

Definition at line 109 of file PoissonData.hpp.

Referenced by calculateDistribution(), getLeftSharedNodes(), and getTopSharedNodes().

int PoissonData::numElemBlocks_
private

Definition at line 111 of file PoissonData.hpp.

Referenced by PoissonData().

int PoissonData::solveType_
private

Definition at line 112 of file PoissonData.hpp.

int PoissonData::nodesPerElement_
private

Definition at line 114 of file PoissonData.hpp.

Referenced by deleteFieldArrays(), initializeFieldStuff(), and PoissonData().

int PoissonData::fieldsPerNode_
private

Definition at line 115 of file PoissonData.hpp.

Referenced by initializeFieldStuff(), and PoissonData().

GlobalID PoissonData::elemBlockID_
private

Definition at line 116 of file PoissonData.hpp.

Referenced by getElemBlockID(), and PoissonData().

int PoissonData::elemSetID_
private

Definition at line 117 of file PoissonData.hpp.

Referenced by PoissonData().

int PoissonData::elemFormat_
private

Definition at line 118 of file PoissonData.hpp.

Referenced by getElemFormat(), and PoissonData().

int PoissonData::fieldSize_
private

Definition at line 121 of file PoissonData.hpp.

Referenced by getFieldSizes(), and initializeFieldStuff().

int* PoissonData::numFields_
private
int** PoissonData::fieldIDs_
private
bool PoissonData::fieldArraysAllocated_
private

Definition at line 124 of file PoissonData.hpp.

Referenced by deleteFieldArrays(), initializeFieldStuff(), and PoissonData().

GlobalID* PoissonData::elemIDs_
private
bool PoissonData::elemIDsAllocated_
private

Definition at line 128 of file PoissonData.hpp.

Referenced by calculateDistribution(), PoissonData(), and ~PoissonData().

std::vector<GlobalID> PoissonData::BCNodeIDs_
private

Definition at line 131 of file PoissonData.hpp.

Referenced by addBCNode(), getBCNodeIDs(), and getNumBCNodes().

std::vector<double> PoissonData::BCValues_
private

Definition at line 132 of file PoissonData.hpp.

Referenced by addBCNode(), and getBCValues().


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