Mesh Oriented datABase  (version 5.5.1)
An array-based unstructured mesh library
moab::Tqdcfr::FEModelHeader Class Reference

#include <Tqdcfr.hpp>

+ Collaboration diagram for moab::Tqdcfr::FEModelHeader:

Classes

class  ArrayInfo
 

Public Member Functions

void init (const unsigned int offset, Tqdcfr *instance)
 
void print ()
 

Public Attributes

unsigned int feEndian
 
unsigned int feSchema
 
unsigned int feCompressFlag
 
unsigned int feLength
 
ArrayInfo geomArray
 
ArrayInfo nodeArray
 
ArrayInfo elementArray
 
ArrayInfo groupArray
 
ArrayInfo blockArray
 
ArrayInfo nodesetArray
 
ArrayInfo sidesetArray
 

Detailed Description

Definition at line 68 of file Tqdcfr.hpp.

Member Function Documentation

◆ init()

void moab::Tqdcfr::FEModelHeader::init ( const unsigned int  offset,
Tqdcfr instance 
)

Definition at line 1706 of file Tqdcfr.cpp.

1707 {
1708  instance->FSEEK( offset );
1709  instance->FREADI( 4 );
1710  feEndian = instance->uint_buf[0];
1711  feSchema = instance->uint_buf[1];
1712  feCompressFlag = instance->uint_buf[2];
1713  feLength = instance->uint_buf[3];
1714  instance->FREADI( 3 );
1715  geomArray.init( instance->uint_buf );
1716  instance->FREADI( 2 );
1717  nodeArray.metaDataOffset = instance->uint_buf[0];
1718  elementArray.metaDataOffset = instance->uint_buf[1];
1719  instance->FREADI( 3 );
1720  groupArray.init( instance->uint_buf );
1721  instance->FREADI( 3 );
1722  blockArray.init( instance->uint_buf );
1723  instance->FREADI( 3 );
1724  nodesetArray.init( instance->uint_buf );
1725  instance->FREADI( 3 );
1726  sidesetArray.init( instance->uint_buf );
1727  instance->FREADI( 1 );
1728 }

References blockArray, elementArray, feCompressFlag, feEndian, feLength, feSchema, moab::Tqdcfr::FREADI(), moab::Tqdcfr::FSEEK(), geomArray, groupArray, moab::Tqdcfr::FEModelHeader::ArrayInfo::init(), moab::Tqdcfr::FEModelHeader::ArrayInfo::metaDataOffset, nodeArray, nodesetArray, sidesetArray, and moab::Tqdcfr::uint_buf.

◆ print()

void moab::Tqdcfr::FEModelHeader::print ( )

Definition at line 2879 of file Tqdcfr.cpp.

2880 {
2881  std::cout << "FEModelHeader:feEndian, feSchema, feCompressFlag, feLength = " << feEndian << ", " << feSchema << ", "
2882  << feCompressFlag << ", " << feLength << std::endl;
2883  std::cout << "geomArray: ";
2884  geomArray.print();
2885  std::cout << "nodeArray: ";
2886  nodeArray.print();
2887  std::cout << "elementArray: ";
2888  elementArray.print();
2889  std::cout << "groupArray: ";
2890  groupArray.print();
2891  std::cout << "blockArray: ";
2892  blockArray.print();
2893  std::cout << "nodesetArray: ";
2894  nodesetArray.print();
2895  std::cout << "sidesetArray: ";
2896  sidesetArray.print();
2897 }

References blockArray, elementArray, feCompressFlag, feEndian, feLength, feSchema, geomArray, groupArray, nodeArray, nodesetArray, moab::Tqdcfr::FEModelHeader::ArrayInfo::print(), and sidesetArray.

Member Data Documentation

◆ blockArray

ArrayInfo moab::Tqdcfr::FEModelHeader::blockArray

Definition at line 84 of file Tqdcfr.hpp.

Referenced by init(), moab::Tqdcfr::load_file(), and print().

◆ elementArray

ArrayInfo moab::Tqdcfr::FEModelHeader::elementArray

Definition at line 84 of file Tqdcfr.hpp.

Referenced by init(), and print().

◆ feCompressFlag

unsigned int moab::Tqdcfr::FEModelHeader::feCompressFlag

Definition at line 71 of file Tqdcfr.hpp.

Referenced by init(), and print().

◆ feEndian

unsigned int moab::Tqdcfr::FEModelHeader::feEndian

Definition at line 71 of file Tqdcfr.hpp.

Referenced by init(), and print().

◆ feLength

unsigned int moab::Tqdcfr::FEModelHeader::feLength

Definition at line 71 of file Tqdcfr.hpp.

Referenced by init(), and print().

◆ feSchema

unsigned int moab::Tqdcfr::FEModelHeader::feSchema

Definition at line 71 of file Tqdcfr.hpp.

Referenced by init(), and print().

◆ geomArray

ArrayInfo moab::Tqdcfr::FEModelHeader::geomArray

Definition at line 84 of file Tqdcfr.hpp.

Referenced by init(), moab::Tqdcfr::load_file(), and print().

◆ groupArray

ArrayInfo moab::Tqdcfr::FEModelHeader::groupArray

Definition at line 84 of file Tqdcfr.hpp.

Referenced by init(), moab::Tqdcfr::load_file(), and print().

◆ nodeArray

ArrayInfo moab::Tqdcfr::FEModelHeader::nodeArray

Definition at line 84 of file Tqdcfr.hpp.

Referenced by init(), and print().

◆ nodesetArray

ArrayInfo moab::Tqdcfr::FEModelHeader::nodesetArray

Definition at line 84 of file Tqdcfr.hpp.

Referenced by init(), moab::Tqdcfr::load_file(), and print().

◆ sidesetArray

ArrayInfo moab::Tqdcfr::FEModelHeader::sidesetArray

Definition at line 84 of file Tqdcfr.hpp.

Referenced by init(), moab::Tqdcfr::load_file(), and print().


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