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
driverData Class Reference

#include <driverData.hpp>

Public Member Functions

 driverData ()
 
 ~driverData ()
 
int readData (const char *fileName)
 
int call_fei_method (const char *method, FEI *fei)
 
std::vector< const char * > & get_methodNames ()
 

Private Member Functions

int readData (FEI_ISTREAM *instr, char *keyword)
 
int getKeyword (FEI_ISTREAM *instr, char *&keyword)
 
int is_reg_char (char c)
 
int skipWhite (FEI_ISTREAM *instr)
 
int readData (FEI_ISTREAM *instr, int &n)
 
int readData (FEI_ISTREAM *instr, double &val)
 
int appendName (const char *name)
 

Private Attributes

std::vector< const char * > methodNames
 
char * temp_
 
int tempLen_
 
int solveType_
 
int initFields_numFields_
 
int * initFields_fieldSizes_
 
int * initFields_fieldIDs_
 
int initElemBlock_numInts_
 
int * initElemBlock_ints_
 
int * initElemBlock_fieldsPerNode_
 
int ** initElemBlock_fieldIDs_
 
int * initElemBlock_elemDofFieldIDs_
 
std::vector< initElem * > initElems_
 
int initElemCounter_
 
std::vector< sumInElem * > sumInElems_
 
int sumInElemCounter_
 
std::vector< sumInElem * > sumInElemMatrix_
 
int sumInElemMatrixCounter_
 
std::vector< sumInElem * > sumInElemRHS_
 
int sumInElemRHSCounter_
 
double resetSystem_
 
double resetMatrix_
 
double resetRHSVector_
 
double resetInitialGuess_
 
std::vector< nodeBC * > loadNodeBCs_
 
int loadNodeBCsCounter_
 
std::vector< initCR * > initCRMult_
 
int initCRMultCounter_
 
std::vector< loadCR * > loadCRMult_
 
int loadCRMultCounter_
 
std::vector< sharedNodes * > initSharedNodes_
 
int initSharedNodesCounter_
 
std::vector< parameters * > parameters_
 
int parametersCounter_
 
std::vector< setIDLists * > setIDLists_
 
int setIDListsCounter_
 
std::vector< int > setCurrentMatrix_
 
int setCurrentMatrixCounter_
 
std::vector< int > setCurrentRHS_
 
int setCurrentRHSCounter_
 
std::vector
< putBlockFieldNodeSolution * > 
putBlockFieldNodeSolution_
 
int putBlockFieldNodeSolutionCounter_
 

Detailed Description

Definition at line 161 of file driverData.hpp.

Constructor & Destructor Documentation

driverData::driverData ( )

Definition at line 30 of file driverData.cpp.

References temp_, and tempLen_.

driverData::~driverData ( )

Member Function Documentation

int driverData::readData ( const char *  fileName)

Definition at line 105 of file driverData.cpp.

References fei::console_out(), FEI_COUT, FEI_ENDL, FEI_IFSTREAM, and getKeyword().

Referenced by feiDriver_main(), and readData().

int driverData::call_fei_method ( const char *  method,
FEI fei 
)

call a named method on the FEI object.

Returns
error-code 0 if successful. negative if an error occurs, positive if the named method is un-recognized.

Definition at line 134 of file driverData.cpp.

References fei::console_out(), initCR::CRID, loadCR::CRID, loadCR::CRValue, FEI::deleteMultCRs(), initElem::elemBlockID, sumInElem::elemBlockID, putBlockFieldNodeSolution::elemBlockID, sumInElem::elemFormat, initElem::elemID, sumInElem::elemID, putBlockFieldNodeSolution::estimates, FEI_ENDL, putBlockFieldNodeSolution::fieldID, initCR::fieldIDs, loadCR::fieldIDs, FEI::initComplete(), FEI::initCRMult(), initCRMult_, initCRMultCounter_, FEI::initElem(), FEI::initElemBlock(), initElemBlock_elemDofFieldIDs_, initElemBlock_fieldIDs_, initElemBlock_fieldsPerNode_, initElemBlock_ints_, initElemCounter_, initElems_, FEI::initFields(), initFields_fieldIDs_, initFields_fieldSizes_, initFields_numFields_, FEI::initSharedNodes(), initSharedNodes_, initSharedNodesCounter_, sumInElem::load, FEI::loadComplete(), FEI::loadCRMult(), loadCRMult_, loadCRMultCounter_, loadNodeBCs_, loadNodeBCsCounter_, setIDLists::matrixIDs, initElem::nodeIDs, sumInElem::nodeIDs, initCR::nodeIDs, loadCR::nodeIDs, sharedNodes::nodeIDs, putBlockFieldNodeSolution::nodeIDs, setIDLists::numMatrices, initCR::numNodes, loadCR::numNodes, sharedNodes::numNodes, putBlockFieldNodeSolution::numNodes, sharedNodes::numProcsPerNode, setIDLists::numRHSs, FEI::parameters(), parameters_, parametersCounter_, parameters::paramList, FEI::putBlockFieldNodeSolution(), putBlockFieldNodeSolution_, putBlockFieldNodeSolutionCounter_, FEI::resetInitialGuess(), resetInitialGuess_, FEI::resetMatrix(), resetMatrix_, FEI::resetRHSVector(), resetRHSVector_, FEI::resetSystem(), resetSystem_, setIDLists::rhsIDs, FEI::setCurrentMatrix(), setCurrentMatrix_, setCurrentMatrixCounter_, setCurrentRHS_, setCurrentRHSCounter_, FEI::setIDLists(), setIDLists_, setIDListsCounter_, FEI::setSolveType(), sharedNodes::sharedProcIDs, FEI::solve(), solveType_, sumInElem::stiffness, FEI::sumInElem(), sumInElemCounter_, FEI::sumInElemMatrix(), sumInElemMatrix_, sumInElemMatrixCounter_, FEI::sumInElemRHS(), sumInElemRHS_, sumInElemRHSCounter_, sumInElems_, and loadCR::weights.

Referenced by feiDriver_main().

std::vector<const char*>& driverData::get_methodNames ( )
inline

Definition at line 174 of file driverData.hpp.

References methodNames.

Referenced by feiDriver_main().

int driverData::readData ( FEI_ISTREAM instr,
char *  keyword 
)
private

Definition at line 358 of file driverData.cpp.

References nodeBC::alpha, appendName(), nodeBC::beta, CHK_ERR, initCR::CRID, loadCR::CRID, loadCR::CRValue, initElem::elemBlockID, sumInElem::elemBlockID, putBlockFieldNodeSolution::elemBlockID, sumInElem::elemFormat, initElem::elemID, sumInElem::elemID, putBlockFieldNodeSolution::estimates, nodeBC::fieldID, putBlockFieldNodeSolution::fieldID, initCR::fieldIDs, loadCR::fieldIDs, nodeBC::fieldSize, putBlockFieldNodeSolution::fieldSize, loadCR::fieldSizes, nodeBC::gamma, initCRMult_, initElemBlock_elemDofFieldIDs_, initElemBlock_fieldIDs_, initElemBlock_fieldsPerNode_, initElemBlock_ints_, initElemBlock_numInts_, initElems_, initFields_fieldIDs_, initFields_fieldSizes_, initFields_numFields_, initSharedNodes_, sumInElem::load, loadCRMult_, loadNodeBCs_, setIDLists::matrixIDs, initElem::nodeIDs, sumInElem::nodeIDs, nodeBC::nodeIDs, initCR::nodeIDs, loadCR::nodeIDs, sharedNodes::nodeIDs, putBlockFieldNodeSolution::nodeIDs, setIDLists::numMatrices, initElem::numNodes, sumInElem::numNodes, nodeBC::numNodes, initCR::numNodes, loadCR::numNodes, sharedNodes::numNodes, putBlockFieldNodeSolution::numNodes, sharedNodes::numProcsPerNode, setIDLists::numRHSs, sumInElem::numRows, parameters_, parameters::paramList, putBlockFieldNodeSolution_, readData(), resetInitialGuess_, resetMatrix_, resetRHSVector_, resetSystem_, setIDLists::rhsIDs, setCurrentMatrix_, setCurrentRHS_, setIDLists_, sharedNodes::sharedProcIDs, skipWhite(), solveType_, sumInElem::stiff1D, sumInElem::stiffness, sumInElemMatrix_, sumInElemRHS_, sumInElems_, and loadCR::weights.

int driverData::getKeyword ( FEI_ISTREAM instr,
char *&  keyword 
)
private

Definition at line 801 of file driverData.cpp.

References snl_fei::getParamValue(), skipWhite(), temp_, and tempLen_.

Referenced by readData().

int driverData::is_reg_char ( char  c)
private

Definition at line 826 of file driverData.cpp.

Referenced by skipWhite().

int driverData::skipWhite ( FEI_ISTREAM instr)
private

Definition at line 834 of file driverData.cpp.

References is_reg_char().

Referenced by getKeyword(), and readData().

int driverData::readData ( FEI_ISTREAM instr,
int &  n 
)
private

Definition at line 865 of file driverData.cpp.

References skipWhite().

int driverData::readData ( FEI_ISTREAM instr,
double &  val 
)
private

Definition at line 873 of file driverData.cpp.

References skipWhite().

int driverData::appendName ( const char *  name)
private

Definition at line 792 of file driverData.cpp.

References methodNames.

Referenced by readData().

Member Data Documentation

std::vector<const char*> driverData::methodNames
private

Definition at line 186 of file driverData.hpp.

Referenced by appendName(), get_methodNames(), and ~driverData().

char* driverData::temp_
private

Definition at line 187 of file driverData.hpp.

Referenced by driverData(), getKeyword(), and ~driverData().

int driverData::tempLen_
private

Definition at line 188 of file driverData.hpp.

Referenced by driverData(), getKeyword(), and ~driverData().

int driverData::solveType_
private

Definition at line 190 of file driverData.hpp.

Referenced by call_fei_method(), and readData().

int driverData::initFields_numFields_
private

Definition at line 192 of file driverData.hpp.

Referenced by call_fei_method(), and readData().

int* driverData::initFields_fieldSizes_
private

Definition at line 193 of file driverData.hpp.

Referenced by call_fei_method(), readData(), and ~driverData().

int* driverData::initFields_fieldIDs_
private

Definition at line 194 of file driverData.hpp.

Referenced by call_fei_method(), readData(), and ~driverData().

int driverData::initElemBlock_numInts_
private

Definition at line 196 of file driverData.hpp.

Referenced by readData(), and ~driverData().

int* driverData::initElemBlock_ints_
private

Definition at line 197 of file driverData.hpp.

Referenced by call_fei_method(), readData(), and ~driverData().

int* driverData::initElemBlock_fieldsPerNode_
private

Definition at line 198 of file driverData.hpp.

Referenced by call_fei_method(), readData(), and ~driverData().

int** driverData::initElemBlock_fieldIDs_
private

Definition at line 199 of file driverData.hpp.

Referenced by call_fei_method(), readData(), and ~driverData().

int* driverData::initElemBlock_elemDofFieldIDs_
private

Definition at line 200 of file driverData.hpp.

Referenced by call_fei_method(), and readData().

std::vector<initElem*> driverData::initElems_
private

Definition at line 202 of file driverData.hpp.

Referenced by call_fei_method(), readData(), and ~driverData().

int driverData::initElemCounter_
private

Definition at line 203 of file driverData.hpp.

Referenced by call_fei_method().

std::vector<sumInElem*> driverData::sumInElems_
private

Definition at line 205 of file driverData.hpp.

Referenced by call_fei_method(), readData(), and ~driverData().

int driverData::sumInElemCounter_
private

Definition at line 206 of file driverData.hpp.

Referenced by call_fei_method().

std::vector<sumInElem*> driverData::sumInElemMatrix_
private

Definition at line 208 of file driverData.hpp.

Referenced by call_fei_method(), readData(), and ~driverData().

int driverData::sumInElemMatrixCounter_
private

Definition at line 209 of file driverData.hpp.

Referenced by call_fei_method().

std::vector<sumInElem*> driverData::sumInElemRHS_
private

Definition at line 211 of file driverData.hpp.

Referenced by call_fei_method(), readData(), and ~driverData().

int driverData::sumInElemRHSCounter_
private

Definition at line 212 of file driverData.hpp.

Referenced by call_fei_method().

double driverData::resetSystem_
private

Definition at line 214 of file driverData.hpp.

Referenced by call_fei_method(), and readData().

double driverData::resetMatrix_
private

Definition at line 215 of file driverData.hpp.

Referenced by call_fei_method(), and readData().

double driverData::resetRHSVector_
private

Definition at line 216 of file driverData.hpp.

Referenced by call_fei_method(), and readData().

double driverData::resetInitialGuess_
private

Definition at line 217 of file driverData.hpp.

Referenced by call_fei_method(), and readData().

std::vector<nodeBC*> driverData::loadNodeBCs_
private

Definition at line 219 of file driverData.hpp.

Referenced by call_fei_method(), readData(), and ~driverData().

int driverData::loadNodeBCsCounter_
private

Definition at line 220 of file driverData.hpp.

Referenced by call_fei_method().

std::vector<initCR*> driverData::initCRMult_
private

Definition at line 222 of file driverData.hpp.

Referenced by call_fei_method(), readData(), and ~driverData().

int driverData::initCRMultCounter_
private

Definition at line 223 of file driverData.hpp.

Referenced by call_fei_method().

std::vector<loadCR*> driverData::loadCRMult_
private

Definition at line 225 of file driverData.hpp.

Referenced by call_fei_method(), readData(), and ~driverData().

int driverData::loadCRMultCounter_
private

Definition at line 226 of file driverData.hpp.

Referenced by call_fei_method().

std::vector<sharedNodes*> driverData::initSharedNodes_
private

Definition at line 228 of file driverData.hpp.

Referenced by call_fei_method(), readData(), and ~driverData().

int driverData::initSharedNodesCounter_
private

Definition at line 229 of file driverData.hpp.

Referenced by call_fei_method().

std::vector<parameters*> driverData::parameters_
private

Definition at line 231 of file driverData.hpp.

Referenced by call_fei_method(), readData(), and ~driverData().

int driverData::parametersCounter_
private

Definition at line 232 of file driverData.hpp.

Referenced by call_fei_method().

std::vector<setIDLists*> driverData::setIDLists_
private

Definition at line 234 of file driverData.hpp.

Referenced by call_fei_method(), readData(), and ~driverData().

int driverData::setIDListsCounter_
private

Definition at line 235 of file driverData.hpp.

Referenced by call_fei_method().

std::vector<int> driverData::setCurrentMatrix_
private

Definition at line 237 of file driverData.hpp.

Referenced by call_fei_method(), and readData().

int driverData::setCurrentMatrixCounter_
private

Definition at line 238 of file driverData.hpp.

Referenced by call_fei_method().

std::vector<int> driverData::setCurrentRHS_
private

Definition at line 240 of file driverData.hpp.

Referenced by call_fei_method(), and readData().

int driverData::setCurrentRHSCounter_
private

Definition at line 241 of file driverData.hpp.

Referenced by call_fei_method().

std::vector<putBlockFieldNodeSolution*> driverData::putBlockFieldNodeSolution_
private

Definition at line 243 of file driverData.hpp.

Referenced by call_fei_method(), and readData().

int driverData::putBlockFieldNodeSolutionCounter_
private

Definition at line 244 of file driverData.hpp.

Referenced by call_fei_method().


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