1 #ifndef MIDAS_AUXILIARY_H
2 #define MIDAS_AUXILIARY_H
23 template <
class T>
void TF_GPA_reid (
GPA<T> &list) {
for (
long i=0; i<list(); i++) { list[i]->set_ID(i); } }
25 template <
class T>
void TF_GPA_reidoid (
GPA<T> &list) {
for (
long i=0; i<list(); i++) { list[i]->set_ID(i); list[i]->set_origID(i); } }
68 if (fn[0] ==
'-' && fn[1] ==
'\0')
name = NULL;
175 #define COMPV3 ((LCS_pure*)this)->compute_v3();
250 switch (this->
type) {
367 void spaces (
int n)
const;
381 #endif // MIDAS_AUXILIARY_H
void setup_rotmat_g2l(MatriX *rotmat)
char * strdupl(const char *src)
standard strdup - Memory for the new string is obtained with malloc(3), and can be freed with free(3)...
const Elem3D * give_vector(void) const
virtual ~LCS_beam()
DESTRUCTOR.
void set_empty_name_from_base(FiLe *src)
void initialize_from(const char *&str, femFileFormat ff)
double give_error(void) const
void addSRCpriorDESTalloc(char *&dest, const char *src)
const VectoR * n2(void) const
virtual ~FiLe()
DESTRUCTOR.
void filename_decomposition(char *&path, char *&base, char *&suff, const char *name)
void TF_GPA_shake_down_reid(GPA< T > &list)
clear out NULL components
virtual ~LocalCoordSystem()
DESTRUCTOR.
void TF_GPA_reidoid(GPA< T > &list)
reset ids ascending
void initialize_from(const char *&str, femFileFormat fff)
void print_info_message(SODenum flag, const char *format,...) const
LCS_pure(void)
CONSTRUCTOR.
void print_row_OOFEM(FILE *stream, int did, Beam *b) const
void print_info_message_core(SODenum flag, ETCLR color=ETC_DEFAULT, const char *buffer=NULL) const
LCS_beam(LCSdirection dir, LCStype typ)
const char * give_path(void) const
void initialize_from(const char *&str, femFileFormat ff)
void setup_rotmat_l2g(MatriX *rotmat)
const VectoR * n1(void) const
LCS_beam(void)
CONSTRUCTOR.
const char * give_base(void) const
FiLe(femFileFormat form, const char *mp, const char *fn)
CONSTRUCTOR.
void initialize(const Geometry *geom)
FiLe(femFileFormat form, const char *p, const char *b, const char *s)
CONSTRUCTOR.
Structs Elem3D, PoinT and VectoR; classes Array, Array1d, Xscal, Dscal, Xvctr, Lvctr, Dvctr, Xmtrx, Lmtrx and Dmtrx.
int give_norm(void) const
Local coordinate system at beam element.
virtual ~LCS_pure()
DESTRUCTOR.
LCS_beam(LCSdirection dir, LCStype typ, long num)
femFileFormat format
variables associated with the file
MMprocessing give_mmp(void) const
const char * give_name(void) const
int give_SPRboudary(void) const
void set_n2(const VectoR *src)
void print_info_message_colour(SODenum flag, ETCLR colour, const char *format,...) const
const VectoR * n3(void) const
virtual ~StdoutDriver()
DESTRUCTOR.
MMprocessing MMprocessingStoE(const char *val)
const char * give_suff(void) const
VectoR * beVectProduct(const VectoR *v1, const VectoR *v2)
vector product v1 x v2 (cross product)
void addGlobPath(const char *globpath)
void print_info_time_green_ok(SODenum flag, double sec) const
LCS_beam(LCSdirection dir, LCStype typ, const double *a)
ADPArameters give_eetype(void) const
bool scan_xyz(FILE *stream)
double give_enlarg(void) const
bool is_empty(void) const
GPA - Generic Pointer Array, template class manages 1d array of pointers to objects of type T...
femFileFormat give_ff(void) const
const char * give_name_or_null(void) const
void TF_GPA_reid(GPA< T > &list)
reset ids ascending
AdaptivityParameters(long ee)
CONSTRUCTOR.
virtual ~AdaptivityParameters()
DESTRUCTOR.
void set_n1(const VectoR *src)
AdaptivityParameters(void)
CONSTRUCTOR.
void set_error(double val)
bool decomposed
state of file name
Local coordinate system defined by 2 vectors.
double give_reduct(void) const
StdoutDriver(void)
CONSTRUCTOR.
void print_row_OOFEM(FILE *stream, int did, Beam *b) const
double give_required_error(void) const
LocalCoordSystem(void)
CONSTRUCTOR.
void TF_GPA_shake_down_reidoid(GPA< T > &list)
clear out NULL components
ADPArameters
Adaptivity paramaters.
void set_n3(const VectoR *src)