Plate geometry generation.
33 int inodb,ielmb,nelmb,ivbase;
42 dl1 = plategeom->
lx/(plategeom->
nx);
43 dl2 = plategeom->
ly/(plategeom->
ny);
46 l1 = -plategeom->
lx/2;
48 for(j=0;j<(plategeom->
nx+1);j++){
50 for(i=0;i<(plategeom->
ny+1);i++){
62 nelmb = (plategeom->
nx)*(plategeom->
ny);
64 for(ielmb=0;ielmb<nelmb;ielmb++){
65 i1 = (ielmb)/(plategeom->
ny);
DOUBLE ly
Definition: structs.h:230
int ncntr
Definition: structs.h:175
void * ptrgeom
Definition: structs.h:173
DOUBLE lx
Definition: structs.h:228
void geom_fill(struct geometry *geom)
Definition: geom_utils.c:249
int nelmb
Definition: structs.h:179
Plate.
Definition: structs.h:226
#define LOG_DEBUG
Definition: logger.h:27
double DOUBLE
Definition: types.h:44
int nnodb
Definition: structs.h:177
int _g_inodb
Definition: globals.h:68
int nx
Definition: structs.h:232
int _g_ielmb
Definition: globals.h:70
Geometry info structure.
Definition: structs.h:161
int _g_icntr
Definition: globals.h:69
void logger(int level, char *msg,...)
Definition: logger.c:56
int ny
Definition: structs.h:234