8 #ifndef FFL_SESAM_READER_H
9 #define FFL_SESAM_READER_H
18 namespace FF_NAMESPACE {
26 Record(
const std::vector<double>& f) : fields(f) {}
28 std::vector<std::string>
text;
41 static void identifierCB(
const std::string& fileName,
int& isSesamFile);
42 static void readerCB (
const std::string& fileName,
FFlLinkHandler* link);
44 static const std::string& findName(
const Records& names,
int ID);
47 bool read(
const std::string& fileName);
48 bool parse(
const std::string& fileName);
50 bool readNodes(
const Records& recs);
51 bool readBCs(
const Records& recs);
52 bool readMasses(
const Records& recs);
53 bool readLinearDependencies(
const Records& recs);
54 bool readElements(
const Records& recs);
55 bool readElementRefs(
const Records& recs,
57 bool readHinges(
const Records& recs);
61 bool readGroundSprings(
const Records& recs);
62 bool readUnitVectors(
const Records& recs);
Container class for finite element models.
Definition: FFlLinkHandler.H:95
Definition: FFlReaderBase.H:23
Definition: FFlSesamReader.H:23
std::map< int, int > IntMap
Definition: FFlSesamReader.H:34
LSintMap myLinearDepDofs
Definition: FFlSesamReader.H:68
RecordMap myRecs
Definition: FFlSesamReader.H:66
std::map< long int, short int > LSintMap
Definition: FFlSesamReader.H:33
std::vector< Record > Records
Definition: FFlSesamReader.H:31
IntMap myHinges
Definition: FFlSesamReader.H:67
std::map< std::string, Records > RecordMap
Definition: FFlSesamReader.H:32
int read(FILE *fd, std::string &tag, unsigned int &cs, int tagLength=LEN_TAG)
Reads the file tag and checksum from the provided file.
Definition: FFaTag.C:317
void init()
Definition: FmDB.C:518
Definition: FFlSesamReader.H:25
Record(const std::vector< double > &f)
Definition: FFlSesamReader.H:26
std::vector< double > fields
Definition: FFlSesamReader.H:27
std::vector< std::string > text
Definition: FFlSesamReader.H:28