FrontISTR 5.2.0
Large-scale structural analysis program with finit element method
Loading...
Searching...
No Matches
CFSTRDB_Eigen.cpp
Go to the documentation of this file.
1/*****************************************************************************
2 * Copyright (c) 2019 FrontISTR Commons
3 * This software is released under the MIT License, see LICENSE.txt
4 *****************************************************************************/
5/*
6 CFSTRDB_Eigen Ver.1.0
7*/
8
9#include "CFSTRDB.h"
10#include "CHECData.h"
11
12using namespace std;
13
15 : CFSTRDataBlock(FSTRDB_EIGEN), nset(5), lcztol(1e-8), lczmax(60) {}
16
18
20 nset = 5;
21 lcztol = 1e-8;
22 lczmax = 60;
23}
24
26 hecd->WriteHeader("!EIGEN");
27 hecd->WriteData("IFI", nset, lcztol, lczmax);
28}
29
30bool CFSTRDB_Eigen::Read(CHECData *hecd, char *header_line) {
31 int rcode[5];
32 return hecd->ReadData(rcode, "IFI", &nset, &lcztol, &lczmax);
33}
@ FSTRDB_EIGEN
Definition: CFSTRDB.h:42
virtual void Clear()
virtual void Write(class CHECData *hecd)
virtual ~CFSTRDB_Eigen()
virtual bool Read(class CHECData *hecd, char *header_line)
double lcztol
Definition: CFSTRDB.h:323
virtual bool ReadData(int *rcode, const char *fmt,...)
Definition: CHECData.cpp:548
virtual void WriteData(const char *fmt,...)
Definition: CHECData.cpp:162
virtual void WriteHeader(const char *name, const char *fmt="",...)
Definition: CHECData.cpp:68