libsurf
Programmer's Documentation

Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
NstElementStressRecord Class Reference

Detailed Description

Nastran element stress record.

This class is used by NstReader to extract stress data from PUNCH files. It contains data for a single record, i.e. one lamina of a single element.

See Also
NstStressField, NstReader, NstRecord, NstMesh

#include <nstelementstress.h>

Public Types

enum  Class { Unknown, LinearShell, CompositeShell, Solid }
 element class
 

Public Member Functions

void compile (uint icode)
 setup to process stress items of a certain code
 
bool setup (uint icode)
 reset to starting condition, return whether reading item code is supported
 
uint process (const std::string &ln)
 fetch data from next line, return state 0 if set complete
 

Static Public Member Functions

static int elementClass (uint ic)
 return element class identifier
 
static bool isLinearShell (uint ic)
 type characterization
 
static bool isCompositeShell (uint ic)
 type characterization
 
static bool isShell (uint ic)
 type characterization
 
static bool isSolid (uint ic)
 type characterization
 

Public Attributes

float sigma [MaxComp]
 stress components
 
uint itemCode
 item code identifies type of stress data recovered
 
uint eid
 element id
 
uint laminateIndex
 ply identifier for composite elements
 
uint gid
 node gid for solid elements
 

Private Types

enum  { MaxComp = 32 }
 

Private Member Functions

uint process33 (const std::string &ln)
 fetch data from next line, return state 0 if set complete
 
uint process95 (const std::string &ln)
 fetch data from next line, return state 0 if set complete
 
uint process67 (const std::string &ln)
 fetch data from next line, return state 0 if set complete
 

Private Attributes

uint stage
 internal state counter
 
uint npoints
 number of points to expect (CHEXA)
 
uint ipoint
 
boost::regex pattern [8]
 regular expressions to use
 
boost::smatch matches
 regex matches
 

The documentation for this class was generated from the following files:
Generated on Mon Jan 24 2022 03:03:18 for libsurf by   doxygen 1.8.5