#include <cfloat>
#include "joint.h"
Go to the source code of this file.
Definition at line 527 of file jointreg.cc.
References DEBUGCERR, DEBUGCOUTFNAME, IncludeParser::GetLineData(), HighParser::GetReal(), Elem::iGetNumDof(), HighParser::IsArg(), HighParser::IsKeyWord(), Elem::JOINT, Elem::JOINT_REGULARIZATION, LASTKEYWORD, MBDYN_EXCEPT_ARGS, DataManager::pFindElem(), NestedElem::pGetElem(), psElemNames, and SAFENEWWITHCONSTRUCTOR.
Referenced by DataManager::ReadOneElem().
533 const char* sKeyWords[] = {
559 if (CurrKeyWord >= 0) {
560 std::cout <<
"joint regularization type: " << sKeyWords[CurrKeyWord] << std::endl;
566 switch (CurrKeyWord) {
583 <<
"(" << uLabel <<
"): "
586 <<
"(" << uLabel <<
") "
595 <<
"(" << uLabel <<
"): "
598 <<
"(" << uLabel <<
") "
605 std::vector<doublereal> dC(iNumDofs);
607 for (
unsigned iCnt = 0; iCnt < iNumDofs; iCnt++) {
611 }
else if (HP.
IsArg()) {
614 for (
unsigned iCnt = 0; iCnt < iNumDofs; iCnt++) {
619 for (
unsigned iCnt = 0; iCnt < iNumDofs; iCnt++) {
624 switch (CurrKeyWord) {
658 silent_cerr(
"error in allocation of "
660 <<
"(" << uLabel <<
")" << std::endl);
666 silent_cerr(
"semicolon expected at line " << HP.
GetLineData()
#define MBDYN_EXCEPT_ARGS
#define DEBUGCOUTFNAME(fname)
Elem * pFindElem(Elem::Type Typ, unsigned int uElem, unsigned int iDeriv) const
virtual bool IsKeyWord(const char *sKeyWord)
#define SAFENEWWITHCONSTRUCTOR(pnt, item, constructor)
virtual unsigned int iGetNumDof(void) const
const char * psElemNames[]
virtual Elem * pGetElem(void) const
virtual HighParser::ErrOut GetLineData(void) const
virtual doublereal GetReal(const doublereal &dDefval=0.0)