MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
loadable.h File Reference
#include "userelem.h"
Include dependency graph for loadable.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LoadableCalls
 
class  LoadableElem
 
struct  LoadableElemRead
 

Macros

#define LOADABLE_VERSION_SET(maj, min, fix)   (((maj) << 24) | ((min) << 16) | (fix))
 
#define LOADABLE_VERSION   LOADABLE_VERSION_SET(1, 5, 0)
 
#define LOADABLE_VERSION_OUT(v)   ((v & 0xFF000000U) >> 24) << '.' << ((v & 0x00FF0000U) >> 16) << '.' << (v & 0x0000FFFFU)
 

Typedefs

typedef void *(* p_read )(LoadableElem *, DataManager *, MBDynParser &)
 
typedef unsigned int(* p_i_get_num_dof )(const LoadableElem *)
 
typedef DofOrder::Order(* p_set_dof )(const LoadableElem *, unsigned int)
 
typedef void(* p_output )(const LoadableElem *, OutputHandler &)
 
typedef std::ostream &(* p_restart )(const LoadableElem *, std::ostream &)
 
typedef void(* p_work_space_dim )(const LoadableElem *, integer *, integer *)
 
typedef
VariableSubMatrixHandler &(* 
p_ass_jac )(LoadableElem *, VariableSubMatrixHandler &, doublereal, const VectorHandler &, const VectorHandler &)
 
typedef void(* p_ass_mats )(LoadableElem *, VariableSubMatrixHandler &, VariableSubMatrixHandler &, const VectorHandler &, const VectorHandler &)
 
typedef SubVectorHandler &(* p_ass_res )(LoadableElem *, SubVectorHandler &, doublereal, const VectorHandler &, const VectorHandler &)
 
typedef void(* p_before_predict )(const LoadableElem *pEl, VectorHandler &X, VectorHandler &XP, VectorHandler &XPrev, VectorHandler &XPPrev)
 
typedef void(* p_after_predict )(const LoadableElem *pEl, VectorHandler &X, VectorHandler &XP)
 
typedef void(* p_update )(LoadableElem *pEl, const VectorHandler &X, const VectorHandler &XP)
 
typedef void(* p_after_convergence )(const LoadableElem *pEl, const VectorHandler &X, const VectorHandler &XP)
 
typedef unsigned int(* p_i_get_initial_num_dof )(const LoadableElem *)
 
typedef void(* p_initial_work_space_dim )(const LoadableElem *, integer *, integer *)
 
typedef
VariableSubMatrixHandler &(* 
p_initial_ass_jac )(LoadableElem *, VariableSubMatrixHandler &, const VectorHandler &)
 
typedef SubVectorHandler &(* p_initial_ass_res )(LoadableElem *, SubVectorHandler &, const VectorHandler &)
 
typedef void(* p_set_value )(const LoadableElem *, DataManager *pDM, VectorHandler &, VectorHandler &, SimulationEntity::Hints *ph)
 
typedef void(* p_set_initial_value )(const LoadableElem *, VectorHandler &)
 
typedef unsigned int(* p_i_get_num_priv_data )(const LoadableElem *pEl)
 
typedef unsigned int(* p_i_get_priv_data_idx )(const LoadableElem *pEl, const char *)
 
typedef doublereal(* p_d_get_priv_data )(const LoadableElem *pEl, unsigned int i)
 
typedef int(* p_i_get_num_connected_nodes )(const LoadableElem *)
 
typedef void(* p_get_connected_nodes )(const LoadableElem *, std::vector< const Node * > &connectedNodes)
 
typedef void(* p_destroy )(LoadableElem *)
 

Functions

ElemReadLoadable (DataManager *pDM, MBDynParser &HP, const DofOwner *pDO, unsigned int uLabel)
 

Macro Definition Documentation

#define LOADABLE_VERSION   LOADABLE_VERSION_SET(1, 5, 0)

Definition at line 47 of file loadable.h.

Referenced by LoadableElem::BindCalls().

#define LOADABLE_VERSION_OUT (   v)    ((v & 0xFF000000U) >> 24) << '.' << ((v & 0x00FF0000U) >> 16) << '.' << (v & 0x0000FFFFU)

Definition at line 48 of file loadable.h.

Referenced by LoadableElem::BindCalls().

#define LOADABLE_VERSION_SET (   maj,
  min,
  fix 
)    (((maj) << 24) | ((min) << 16) | (fix))

Definition at line 45 of file loadable.h.

Typedef Documentation

typedef void(* p_after_convergence)(const LoadableElem *pEl, const VectorHandler &X, const VectorHandler &XP)

Definition at line 135 of file loadable.h.

typedef void(* p_after_predict)(const LoadableElem *pEl, VectorHandler &X, VectorHandler &XP)

Definition at line 129 of file loadable.h.

Definition at line 115 of file loadable.h.

typedef void(* p_ass_mats)(LoadableElem *, VariableSubMatrixHandler &, VariableSubMatrixHandler &, const VectorHandler &, const VectorHandler &)

Definition at line 118 of file loadable.h.

typedef SubVectorHandler&(* p_ass_res)(LoadableElem *, SubVectorHandler &, doublereal, const VectorHandler &, const VectorHandler &)

Definition at line 122 of file loadable.h.

typedef void(* p_before_predict)(const LoadableElem *pEl, VectorHandler &X, VectorHandler &XP, VectorHandler &XPrev, VectorHandler &XPPrev)

Definition at line 125 of file loadable.h.

typedef doublereal(* p_d_get_priv_data)(const LoadableElem *pEl, unsigned int i)

Definition at line 154 of file loadable.h.

typedef void(* p_destroy)(LoadableElem *)

Definition at line 159 of file loadable.h.

typedef void(* p_get_connected_nodes)(const LoadableElem *, std::vector< const Node * > &connectedNodes)

Definition at line 157 of file loadable.h.

typedef unsigned int(* p_i_get_initial_num_dof)(const LoadableElem *)

Definition at line 137 of file loadable.h.

typedef int(* p_i_get_num_connected_nodes)(const LoadableElem *)

Definition at line 155 of file loadable.h.

typedef unsigned int(* p_i_get_num_dof)(const LoadableElem *)

Definition at line 109 of file loadable.h.

typedef unsigned int(* p_i_get_num_priv_data)(const LoadableElem *pEl)

Definition at line 150 of file loadable.h.

typedef unsigned int(* p_i_get_priv_data_idx)(const LoadableElem *pEl, const char *)

Definition at line 152 of file loadable.h.

typedef VariableSubMatrixHandler&(* p_initial_ass_jac)(LoadableElem *, VariableSubMatrixHandler &, const VectorHandler &)

Definition at line 141 of file loadable.h.

typedef SubVectorHandler&(* p_initial_ass_res)(LoadableElem *, SubVectorHandler &, const VectorHandler &)

Definition at line 144 of file loadable.h.

typedef void(* p_initial_work_space_dim)(const LoadableElem *, integer *, integer *)

Definition at line 139 of file loadable.h.

typedef void(* p_output)(const LoadableElem *, OutputHandler &)

Definition at line 111 of file loadable.h.

typedef void*(* p_read)(LoadableElem *, DataManager *, MBDynParser &)

Definition at line 108 of file loadable.h.

typedef std::ostream&(* p_restart)(const LoadableElem *, std::ostream &)

Definition at line 112 of file loadable.h.

typedef DofOrder::Order(* p_set_dof)(const LoadableElem *, unsigned int)

Definition at line 110 of file loadable.h.

typedef void(* p_set_initial_value)(const LoadableElem *, VectorHandler &)

Definition at line 149 of file loadable.h.

typedef void(* p_set_value)(const LoadableElem *, DataManager *pDM, VectorHandler &, VectorHandler &, SimulationEntity::Hints *ph)

Definition at line 146 of file loadable.h.

typedef void(* p_update)(LoadableElem *pEl, const VectorHandler &X, const VectorHandler &XP)

Definition at line 132 of file loadable.h.

typedef void(* p_work_space_dim)(const LoadableElem *, integer *, integer *)

Definition at line 113 of file loadable.h.

Function Documentation

Elem* ReadLoadable ( DataManager pDM,
MBDynParser HP,
const DofOwner pDO,
unsigned int  uLabel 
)

Definition at line 87 of file userelem.cc.

References ASSERT, and UDEMap.

Referenced by DataManager::ReadOneElem().

89 {
90  UDEMapType::iterator i = UDEMap.find("loadable");
91  ASSERT(i != UDEMap.end());
92 
93  return i->second->Read(uLabel, pDO, pDM, HP);
94 }
static UDEMapType UDEMap
Definition: userelem.cc:51
#define ASSERT(expression)
Definition: colamd.c:977