Mesh Oriented datABase  (version 5.4.1)
Array-based unstructured mesh datastructure
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

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

Definition at line 1706 of file Tqdcfr.cpp.

References moab::Tqdcfr::FREADI(), moab::Tqdcfr::FSEEK(), and moab::Tqdcfr::uint_buf.

{
    instance->FSEEK( offset );
    instance->FREADI( 4 );
    feEndian       = instance->uint_buf[0];
    feSchema       = instance->uint_buf[1];
    feCompressFlag = instance->uint_buf[2];
    feLength       = instance->uint_buf[3];
    instance->FREADI( 3 );
    geomArray.init( instance->uint_buf );
    instance->FREADI( 2 );
    nodeArray.metaDataOffset    = instance->uint_buf[0];
    elementArray.metaDataOffset = instance->uint_buf[1];
    instance->FREADI( 3 );
    groupArray.init( instance->uint_buf );
    instance->FREADI( 3 );
    blockArray.init( instance->uint_buf );
    instance->FREADI( 3 );
    nodesetArray.init( instance->uint_buf );
    instance->FREADI( 3 );
    sidesetArray.init( instance->uint_buf );
    instance->FREADI( 1 );
}

Definition at line 2879 of file Tqdcfr.cpp.

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

{
    std::cout << "FEModelHeader:feEndian, feSchema, feCompressFlag, feLength = " << feEndian << ", " << feSchema << ", "
              << feCompressFlag << ", " << feLength << std::endl;
    std::cout << "geomArray: ";
    geomArray.print();
    std::cout << "nodeArray: ";
    nodeArray.print();
    std::cout << "elementArray: ";
    elementArray.print();
    std::cout << "groupArray: ";
    groupArray.print();
    std::cout << "blockArray: ";
    blockArray.print();
    std::cout << "nodesetArray: ";
    nodesetArray.print();
    std::cout << "sidesetArray: ";
    sidesetArray.print();
}

Member Data Documentation

Definition at line 84 of file Tqdcfr.hpp.

Referenced by print().

Definition at line 71 of file Tqdcfr.hpp.

Referenced by print().

Definition at line 71 of file Tqdcfr.hpp.

Referenced by print().

Definition at line 71 of file Tqdcfr.hpp.

Referenced by print().

Definition at line 71 of file Tqdcfr.hpp.

Referenced by print().

Definition at line 84 of file Tqdcfr.hpp.

Referenced by print().

List of all members.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines