62 silent_cout(
"Module template" << std::endl);
92 return out <<
"not implemented yet;" << std::endl;
322 silent_cerr(
"Module-template Elem(" << pEl->
GetLabel() <<
"): "
323 "priv data \"" << s <<
"\" is unknown" << std::endl);
335 silent_cerr(
"Module-template Elem(" << pEl->
GetLabel() <<
"): "
336 "illegal private data index " << i << std::endl);
374 std::vector<const Node *>& connectedNodes)
394 "Dipartimento di Ingegneria Aerospaziale, Politecnico di Milano",
395 "template module; use it as guideline for user-defined elements",
#define LOADABLE_VERSION_SET(maj, min, fix)
static void set_value(const LoadableElem *pEl, DataManager *pDM, VectorHandler &X, VectorHandler &XP, SimulationEntity::Hints *ph)
static void output(const LoadableElem *pEl, OutputHandler &OH)
#define MBDYN_EXCEPT_ARGS
void * pGetData(void) const
static unsigned int i_get_priv_data_idx(const LoadableElem *pEl, const char *s)
#define DEBUGCOUTFNAME(fname)
FullSubMatrixHandler & SetFull(void)
static SubVectorHandler & initial_ass_res(LoadableElem *pEl, SubVectorHandler &WorkVec, const VectorHandler &XCurr)
static void before_predict(const LoadableElem *pEl, VectorHandler &X, VectorHandler &XP, VectorHandler &XPrev, VectorHandler &XPPrev)
static void after_predict(const LoadableElem *pEl, VectorHandler &X, VectorHandler &XP)
static void set_initial_value(const LoadableElem *pEl, VectorHandler &X)
static unsigned int i_get_num_dof(const LoadableElem *pEl)
static void update(LoadableElem *pEl, const VectorHandler &X, const VectorHandler &XP)
static void work_space_dim(const LoadableElem *pEl, integer *piNumRows, integer *piNumCols)
std::vector< Hint * > Hints
static int i_get_num_connected_nodes(const LoadableElem *pEl)
static doublereal d_get_priv_data(const LoadableElem *pEl, unsigned int i)
virtual void InitialWorkSpaceDim(integer *piNumRows, integer *piNumCols) const
static struct LoadableCalls lc
#define SAFENEW(pnt, item)
virtual bool IsKeyWord(const char *sKeyWord)
static std::ostream & restart(const LoadableElem *pEl, std::ostream &out)
static void initial_work_space_dim(const LoadableElem *pEl, integer *piNumRows, integer *piNumCols)
static SubVectorHandler & ass_res(LoadableElem *pEl, SubVectorHandler &WorkVec, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr)
static VariableSubMatrixHandler & ass_jac(LoadableElem *pEl, VariableSubMatrixHandler &WorkMat, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr)
#define ASSERT(expression)
static void after_convergence(const LoadableElem *, const VectorHandler &, const VectorHandler &)
virtual void ResizeReset(integer, integer)
static unsigned int i_get_num_priv_data(const LoadableElem *pEl)
static unsigned int i_get_initial_num_dof(const LoadableElem *pEl)
static void ass_mats(LoadableElem *pEl, VariableSubMatrixHandler &WorkMatA, VariableSubMatrixHandler &WorkMatB, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr)
static VariableSubMatrixHandler & initial_ass_jac(LoadableElem *pEl, VariableSubMatrixHandler &WorkMat, const VectorHandler &XCurr)
virtual unsigned int iGetNumPrivData(void) const
static void get_connected_nodes(const LoadableElem *pEl, std::vector< const Node * > &connectedNodes)
static DofOrder::Order set_dof(const LoadableElem *, unsigned int i)
static void destroy(LoadableElem *pEl)
unsigned int GetLabel(void) const
static void * read(LoadableElem *pEl, DataManager *pDM, MBDynParser &HP)
virtual void Resize(integer iNewSize)=0
virtual void WorkSpaceDim(integer *piNumRows, integer *piNumCols) const