MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
loadable.cc File Reference
#include "mbconfig.h"
#include <unistd.h>
#include "dataman.h"
#include "loadable.h"
Include dependency graph for loadable.cc:

Go to the source code of this file.

Functions

static unsigned int int_i_get_num_dof (const LoadableElem *)
 
static DofOrder::Order int_set_dof (const LoadableElem *, unsigned int)
 
static void int_output (const LoadableElem *, OutputHandler &)
 
static std::ostream & int_restart (const LoadableElem *pEl, std::ostream &out)
 
static void int_work_space_dim (const LoadableElem *, integer *piNumRows, integer *piNumCols)
 
static VariableSubMatrixHandlerint_ass_jac (LoadableElem *, VariableSubMatrixHandler &WorkMat, doublereal, const VectorHandler &, const VectorHandler &)
 
static void int_ass_mats (LoadableElem *, VariableSubMatrixHandler &WorkMatA, VariableSubMatrixHandler &WorkMatB, const VectorHandler &, const VectorHandler &)
 
static SubVectorHandlerint_ass_res (LoadableElem *, SubVectorHandler &WorkVec, doublereal, const VectorHandler &, const VectorHandler &)
 
static void int_before_predict (const LoadableElem *, VectorHandler &, VectorHandler &, VectorHandler &, VectorHandler &)
 
static void int_after_predict (const LoadableElem *, VectorHandler &, VectorHandler &)
 
static void int_update (LoadableElem *, const VectorHandler &, const VectorHandler &)
 
static void int_after_convergence (const LoadableElem *, const VectorHandler &, const VectorHandler &)
 
static unsigned int int_i_get_initial_num_dof (const LoadableElem *)
 
static void int_initial_work_space_dim (const LoadableElem *, integer *piNumRows, integer *piNumCols)
 
static VariableSubMatrixHandlerint_initial_ass_jac (LoadableElem *, VariableSubMatrixHandler &WorkMat, const VectorHandler &)
 
static SubVectorHandlerint_initial_ass_res (LoadableElem *, SubVectorHandler &WorkVec, const VectorHandler &)
 
static void int_set_value (const LoadableElem *, DataManager *pDM, VectorHandler &, VectorHandler &, SimulationEntity::Hints *ph)
 
static void int_set_initial_value (const LoadableElem *, VectorHandler &)
 
static unsigned int int_i_get_num_priv_data (const LoadableElem *)
 
static unsigned int int_i_get_priv_data_idx (const LoadableElem *, const char *s)
 
static doublereal int_d_get_priv_data (const LoadableElem *, unsigned int)
 
static int int_i_get_num_connected_nodes (const LoadableElem *pEl)
 
static void int_get_connected_nodes (const LoadableElem *pEl, std::vector< const Node * > &connectedNodes)
 
static void int_destroy (LoadableElem *)
 

Function Documentation

static void int_after_convergence ( const LoadableElem ,
const VectorHandler ,
const VectorHandler  
)
static

Definition at line 135 of file loadable.cc.

References NO_OP.

Referenced by LoadableElem::BindCalls().

138 {
139  NO_OP;
140 }
#define NO_OP
Definition: myassert.h:74
static void int_after_predict ( const LoadableElem ,
VectorHandler ,
VectorHandler  
)
static

Definition at line 119 of file loadable.cc.

References NO_OP.

Referenced by LoadableElem::BindCalls().

122 {
123  NO_OP;
124 }
#define NO_OP
Definition: myassert.h:74
static VariableSubMatrixHandler& int_ass_jac ( LoadableElem ,
VariableSubMatrixHandler WorkMat,
doublereal  ,
const VectorHandler ,
const VectorHandler  
)
static

Definition at line 76 of file loadable.cc.

References VariableSubMatrixHandler::SetNullMatrix().

Referenced by LoadableElem::BindCalls().

81 {
82  WorkMat.SetNullMatrix();
83  return WorkMat;
84 }
void SetNullMatrix(void)
Definition: submat.h:1159

Here is the call graph for this function:

static void int_ass_mats ( LoadableElem ,
VariableSubMatrixHandler WorkMatA,
VariableSubMatrixHandler WorkMatB,
const VectorHandler ,
const VectorHandler  
)
static

Definition at line 87 of file loadable.cc.

References VariableSubMatrixHandler::SetNullMatrix().

Referenced by LoadableElem::BindCalls().

92 {
93  WorkMatA.SetNullMatrix();
94  WorkMatB.SetNullMatrix();
95 }
void SetNullMatrix(void)
Definition: submat.h:1159

Here is the call graph for this function:

static SubVectorHandler& int_ass_res ( LoadableElem ,
SubVectorHandler WorkVec,
doublereal  ,
const VectorHandler ,
const VectorHandler  
)
static

Definition at line 98 of file loadable.cc.

References VectorHandler::Resize().

Referenced by LoadableElem::BindCalls().

103 {
104  WorkVec.Resize(0);
105  return WorkVec;
106 }
virtual void Resize(integer iNewSize)=0

Here is the call graph for this function:

static void int_before_predict ( const LoadableElem ,
VectorHandler ,
VectorHandler ,
VectorHandler ,
VectorHandler  
)
static

Definition at line 109 of file loadable.cc.

References NO_OP.

Referenced by LoadableElem::BindCalls().

114 {
115  NO_OP;
116 }
#define NO_OP
Definition: myassert.h:74
static doublereal int_d_get_priv_data ( const LoadableElem ,
unsigned  int 
)
static

Definition at line 205 of file loadable.cc.

References MBDYN_EXCEPT_ARGS.

Referenced by LoadableElem::BindCalls().

206 {
207  silent_cerr("You shouldn't be here!" << std::endl);
209 }
#define MBDYN_EXCEPT_ARGS
Definition: except.h:63
static void int_destroy ( LoadableElem )
static

Definition at line 224 of file loadable.cc.

References NO_OP.

Referenced by LoadableElem::BindCalls().

225 {
226  NO_OP;
227 }
#define NO_OP
Definition: myassert.h:74
static void int_get_connected_nodes ( const LoadableElem pEl,
std::vector< const Node * > &  connectedNodes 
)
static

Definition at line 218 of file loadable.cc.

Referenced by LoadableElem::BindCalls().

219 {
220  connectedNodes.resize(0);
221 }
static unsigned int int_i_get_initial_num_dof ( const LoadableElem )
static

Definition at line 143 of file loadable.cc.

Referenced by LoadableElem::BindCalls().

144 {
145  return 0;
146 }
static int int_i_get_num_connected_nodes ( const LoadableElem pEl)
static

Definition at line 212 of file loadable.cc.

Referenced by LoadableElem::BindCalls().

213 {
214  return 0;
215 }
static unsigned int int_i_get_num_dof ( const LoadableElem )
static

Definition at line 41 of file loadable.cc.

Referenced by LoadableElem::BindCalls().

42 {
43  return 0;
44 }
static unsigned int int_i_get_num_priv_data ( const LoadableElem )
static

Definition at line 192 of file loadable.cc.

Referenced by LoadableElem::BindCalls().

193 {
194  return 0;
195 }
static unsigned int int_i_get_priv_data_idx ( const LoadableElem ,
const char *  s 
)
static

Definition at line 198 of file loadable.cc.

References MBDYN_EXCEPT_ARGS.

Referenced by LoadableElem::BindCalls().

199 {
200  silent_cerr("You shouldn't be here!" << std::endl);
202 }
#define MBDYN_EXCEPT_ARGS
Definition: except.h:63
static VariableSubMatrixHandler& int_initial_ass_jac ( LoadableElem ,
VariableSubMatrixHandler WorkMat,
const VectorHandler  
)
static

Definition at line 158 of file loadable.cc.

References VariableSubMatrixHandler::SetNullMatrix().

Referenced by LoadableElem::BindCalls().

161 {
162  WorkMat.SetNullMatrix();
163  return WorkMat;
164 }
void SetNullMatrix(void)
Definition: submat.h:1159

Here is the call graph for this function:

static SubVectorHandler& int_initial_ass_res ( LoadableElem ,
SubVectorHandler WorkVec,
const VectorHandler  
)
static

Definition at line 167 of file loadable.cc.

References VectorHandler::Resize().

Referenced by LoadableElem::BindCalls().

170 {
171  WorkVec.Resize(0);
172  return WorkVec;
173 }
virtual void Resize(integer iNewSize)=0

Here is the call graph for this function:

static void int_initial_work_space_dim ( const LoadableElem ,
integer piNumRows,
integer piNumCols 
)
static

Definition at line 149 of file loadable.cc.

Referenced by LoadableElem::BindCalls().

152 {
153  *piNumRows = 0;
154  *piNumCols = 0;
155 }
static void int_output ( const LoadableElem ,
OutputHandler  
)
static

Definition at line 54 of file loadable.cc.

References NO_OP.

Referenced by LoadableElem::BindCalls().

55 {
56  NO_OP;
57 }
#define NO_OP
Definition: myassert.h:74
static std::ostream& int_restart ( const LoadableElem pEl,
std::ostream &  out 
)
static

Definition at line 60 of file loadable.cc.

References WithLabel::GetLabel().

Referenced by LoadableElem::BindCalls().

61 {
62  return out << "loadable: " << pEl->GetLabel()
63  << ", not implemented yet;" << std::endl;
64 }
unsigned int GetLabel(void) const
Definition: withlab.cc:62

Here is the call graph for this function:

static DofOrder::Order int_set_dof ( const LoadableElem ,
unsigned  int 
)
static

Definition at line 47 of file loadable.cc.

References MBDYN_EXCEPT_ARGS.

Referenced by LoadableElem::BindCalls().

48 {
49  silent_cerr("You shouldn't be here!" << std::endl);
51 }
#define MBDYN_EXCEPT_ARGS
Definition: except.h:63
static void int_set_initial_value ( const LoadableElem ,
VectorHandler  
)
static

Definition at line 186 of file loadable.cc.

References NO_OP.

Referenced by LoadableElem::BindCalls().

187 {
188  NO_OP;
189 }
#define NO_OP
Definition: myassert.h:74
static void int_set_value ( const LoadableElem ,
DataManager pDM,
VectorHandler ,
VectorHandler ,
SimulationEntity::Hints ph 
)
static

Definition at line 176 of file loadable.cc.

References NO_OP.

Referenced by LoadableElem::BindCalls().

181 {
182  NO_OP;
183 }
#define NO_OP
Definition: myassert.h:74
static void int_update ( LoadableElem ,
const VectorHandler ,
const VectorHandler  
)
static

Definition at line 127 of file loadable.cc.

References NO_OP.

Referenced by LoadableElem::BindCalls().

130 {
131  NO_OP;
132 }
#define NO_OP
Definition: myassert.h:74
static void int_work_space_dim ( const LoadableElem ,
integer piNumRows,
integer piNumCols 
)
static

Definition at line 67 of file loadable.cc.

Referenced by LoadableElem::BindCalls().

70 {
71  *piNumRows = 0;
72  *piNumCols = 0;
73 }