MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
elem.h File Reference
#include <vector>
#include "myassert.h"
#include "except.h"
#include "solman.h"
#include "submat.h"
#include "output.h"
#include "withlab.h"
#include "dofown.h"
#include "invdyn.h"
#include "simentity.h"
#include "node.h"
Include dependency graph for elem.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Elem
 
struct  Elem::ChangedEquationStructure
 
struct  ElemRead
 
class  ElemWithDofs
 
class  SubjectToInitialAssembly
 
class  InitialAssemblyElem
 

Functions

Elem::Type str2elemtype (const char *const s)
 
bool SetElem (const char *name, ElemRead *rf)
 
void InitElem (void)
 
void DestroyElem (void)
 

Variables

const char * psElemNames []
 
const char * psReadControlElems []
 
const char * psReadElemsElems []
 

Function Documentation

void DestroyElem ( void  )
void InitElem ( void  )
bool SetElem ( const char *  name,
ElemRead rf 
)

Definition at line 191 of file elem.cc.

References ElemFuncMap.

192 {
193  pedantic_cout("registering element \"" << name << "\""
194  << std::endl );
195  return ElemFuncMap.insert(ElemFuncMapType::value_type(name, rf)).second;
196 }
static ElemFuncMapType ElemFuncMap
Definition: elem.cc:174
Elem::Type str2elemtype ( const char *const  s)

Definition at line 159 of file elem.cc.

References Elem::LASTELEMTYPE, psReadElemsElems, and Elem::UNKNOWN.

Referenced by ModelNameSpace::FindFunc(), ModelNameSpace::GetFunc(), and ElemPrivPlugIn::ReadSE().

160 {
161  for (int i = 0; i < Elem::LASTELEMTYPE; i++) {
162  if (strcasecmp(s, psReadElemsElems[i]) == 0) {
163  return Elem::Type(i);
164  }
165  }
166 
167  return Elem::UNKNOWN;
168 }
Type
Definition: elem.h:91
const char * psReadElemsElems[]
Definition: enums.cc:79

Variable Documentation

const char* psReadControlElems[]

Definition at line 122 of file enums.cc.

Referenced by DataManager::MakeRestart(), and DataManager::ReadControl().

const char* psReadElemsElems[]