FrontISTR 5.2.0
Large-scale structural analysis program with finit element method
Loading...
Searching...
No Matches
CHECDataBlock.h
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 CHECDataBlock Ver. 3.6
7*/
8
9#ifndef CHECDataBlockH
10#define CHECDataBlockH
11
12#include <stdio.h>
13
14const int hec_name_size = 40;
15const int hec_str_size = 256;
16
18 public:
20 CHECDataBlock(int dtype) : data_type(dtype) {}
21 virtual ~CHECDataBlock() {}
22 virtual void Clear() = 0;
23 virtual void Write(class CHECData* hecd) = 0;
24 virtual bool Read(class CHECData* hecd, char* header_line) = 0;
25 virtual bool IsMesh() { return true; }
26};
27
28#endif
const int hec_name_size
Definition: CHECDataBlock.h:14
const int hec_str_size
Definition: CHECDataBlock.h:15
CHECDataBlock(int dtype)
Definition: CHECDataBlock.h:20
virtual void Clear()=0
virtual ~CHECDataBlock()
Definition: CHECDataBlock.h:21
virtual void Write(class CHECData *hecd)=0
virtual bool IsMesh()
Definition: CHECDataBlock.h:25
virtual bool Read(class CHECData *hecd, char *header_line)=0