FEI Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
DataReader.hpp
Go to the documentation of this file.
1#ifndef _DataReader_h_
2#define _DataReader_h_
3
4/*--------------------------------------------------------------------*/
5/* Copyright 2005 Sandia Corporation. */
6/* Under the terms of Contract DE-AC04-94AL85000, there is a */
7/* non-exclusive license for use of this work by or on behalf */
8/* of the U.S. Government. Export of this program may require */
9/* a license from the United States Government. */
10/*--------------------------------------------------------------------*/
11
13#include <test_utils/CRSet.hpp>
18#include <fei_iostream.hpp>
19#include <string>
20
22 public:
23 DataReader();
25
26 int readData(const char* fileName);
27
29
30 std::string solverLibraryName_;
31 std::string solnFileName_;
32 std::string checkFileName_;
33
37
40
42 ElemBlock* elemBlocks_; //list of length numElemBlocks_
43
46
49
52
55
58
61
64
65 int getFieldSize(int fieldID);
66
67 static int getKeyword(FEI_ISTREAM* instr, char*& keyword);
68 void readData(FEI_ISTREAM* instr, char* keyword);
69 static void readData(FEI_ISTREAM* instr, int& n);
70 static void readData(FEI_ISTREAM* instr, double& val);
71
72 static int is_reg_char(char c);
73 static int skipWhite(FEI_ISTREAM* instr);
74
75 private:
76 void deleteMemory();
77
82
86};
87
88#endif
89
char ** paramStrings_
void deleteMemory()
int currentBCIndex_
BCNodeSet * bcNodeSets_
CRSet * crMultSets_
CRSet * slaveVars_
static int skipWhite(FEI_ISTREAM *instr)
CoefAccess * coefAccesses_
int * fieldIDs_
bool numFieldsRead_
std::string solnFileName_
int numCoefAccessPatterns_
ElemBlock * elemBlocks_
bool numElemBlocksRead_
int currentShIndex_
CommNodeSet * sharedNodeSets_
int numCRPenSets_
int * fieldSizes_
int numSharedNodeSets_
int numElemBlocks_
static int is_reg_char(char c)
int getFieldSize(int fieldID)
int currentElemBlockIndex_
int currentElemIndex_
AccessPattern * accessPatterns_
int numCRMultSets_
std::string solverLibraryName_
static int getKeyword(FEI_ISTREAM *instr, char *&keyword)
int readData(const char *fileName)
int numCoefAccesses_
int numBCNodeSets_
std::string checkFileName_
int numSlaveVars_
int currentExtIndex_
CRSet * crPenSets_
#define FEI_ISTREAM