FEI Version of the Day

#include <fei_BlockDescriptor.hpp>
Public Member Functions  
int  setNumNodesPerElement (int numNodes) 
int **  fieldIDsTablePtr () 
The BlockDescriptor class holds the information that the FEI implementation needs to know about an elementblock in the finite element problem:
Global block identifier number of nodes per element in this block list containing the numberoffieldspernode table containing the field identifiers for those nodal fields interleaveStrategy lumpingStrategy number of elements in this block number of elementDOF per element in this block the first elementDOF equation number for each block total number of equations associated with each element
A block is a collection of homogeneous elements  which means that all elements in a block have the same topology: number of nodes, same solution fields at those nodes, etc.
Usage notes:
There is only one way to set each length/size parameter in this class, and only one way to retrieve each length/size parameter. e.g., you can't set the number of nodes to be one thing, then pass a different value to a function that allocates the fieldsPerNode list. When you set the number of nodes, the fieldsPerNode list is allocated right then. When you retrieve the fieldsPerNode list, you must obtain its length by separately calling the getNumNodesPerElement() function. Similar schemes are in place for the fieldIDsTable, etc.
There are some orderdependencies for these member functions.
In general, outoforder function calls will be flagged with a message to stderr.
Definition at line 67 of file fei_BlockDescriptor.hpp.
int BlockDescriptor::setNumNodesPerElement  (  int  numNodes  ) 
Number of nodes per element, in this elementblock.
Definition at line 60 of file fei_BlockDescriptor.cpp.
int** BlockDescriptor::fieldIDsTablePtr  (  )  [inline] 
Table of fieldIDs. numberofrows is getNumNodesPerElement() The rowlengths are given by the fieldsPerNodePtr() list.
Definition at line 88 of file fei_BlockDescriptor.hpp.