Go to the source code of this file.
Data Structures | |
struct | myGlobals |
Functions | |
static void | die (const char *str) |
void | resize_nodes (void *data, int *len, int *max) |
schak | |
void | resize_elems (void *data, int *len, int *max) |
void | resize_edges (void *data, int *len, int *max) |
void | init (void) |
void | pup_myGlobals (pup_er p, myGlobals *g) |
double | calcArea (myGlobals &g, int i) |
void | checkTriangle (myGlobals &g, int i) |
void | CST_NL (const vector2d *coor, const int *lm, vector2d *R_net, const vector2d *d, const double *c, int numnp, int numel, double *S11o, double *S22o, double *S12o) |
void | advanceNodes (const double dt, int nnodes, const vector2d *coord, vector2d *R_net, vector2d *a, vector2d *v, vector2d *d, const double *m_i, bool dampen) |
void | calcMasses (myGlobals &g) |
void | init_myGlobal (myGlobals *g) |
void | repeat_after_split (void *data) |
void | driver (void) |
Variables | |
const double | matConst [4] = {3.692e9, 1.292e9, 3.692e9, 1.200e9 } |
const double | density = 5.0*1000.0 |
const double | thickness = 0.0001 |
const double | dt = 1.0e-12 |
static void die | ( | const char * | str | ) | [static] |
schak
Definition at line 373 of file pgm.C.
References myGlobals::a, PUP::a, myGlobals::coord, myGlobals::d, PUP::d, FEM_Mesh_default_read(), FEM_My_partition(), FEM_Register_array(), FEM_Register_array_layout(), FEM_Register_entity(), myGlobals::m_i, myGlobals::m_i_fid, myGlobals::maxnodes, myGlobals::nodeBoundary, myGlobals::R_net, myGlobals::v, x, vector2d::x, and vector2d::y.
Referenced by driver(), and init().
Definition at line 426 of file pgm.C.
References myGlobals::conn, conn, FEM_Mesh_default_read(), FEM_My_partition(), FEM_Register_array(), FEM_Register_entity(), myGlobals::maxelems, myGlobals::S11, myGlobals::S12, and myGlobals::S22.
Referenced by driver(), and init().
Definition at line 455 of file pgm.C.
References conn, myGlobals::edgeBoundary, myGlobals::edgeConn, FEM_Mesh_default_read(), FEM_My_partition(), FEM_Register_array(), FEM_Register_entity(), and myGlobals::maxedges.
Referenced by driver(), and init().
Definition at line 190 of file pgm.C.
References myGlobals::a, myGlobals::conn, myGlobals::coord, myGlobals::d, myGlobals::edgeBoundary, myGlobals::edgeConn, FEM_Print(), myGlobals::m_i, myGlobals::maxedges, myGlobals::maxelems, myGlobals::maxnodes, myGlobals::nedges, myGlobals::nelems, nnodes, myGlobals::nnodes, myGlobals::nodeBoundary, pup_isDeleting(), pup_isUnpacking(), myGlobals::R_net, myGlobals::S11, myGlobals::S12, myGlobals::S22, and myGlobals::v.
Referenced by driver().
Definition at line 253 of file pgm.C.
References PUP::a, PUP::b, c, myGlobals::conn, myGlobals::coord, n1, n2, vector2d::x, and vector2d::y.
Referenced by calcMasses(), checkTriangle(), and driver().
Definition at line 267 of file pgm.C.
References calcArea(), and FEM_My_partition().
Referenced by driver().
void advanceNodes | ( | const double | dt, | |
int | nnodes, | |||
const vector2d * | coord, | |||
vector2d * | R_net, | |||
vector2d * | a, | |||
vector2d * | v, | |||
vector2d * | d, | |||
const double * | m_i, | |||
bool | dampen | |||
) |
Definition at line 288 of file pgm.C.
References CmiAbort(), x, vector2d::x, and vector2d::y.
Referenced by driver().
void calcMasses | ( | myGlobals & | g | ) |
Definition at line 337 of file pgm.C.
References calcArea(), myGlobals::conn, density, FEM_Update_field(), myGlobals::m_i, myGlobals::m_i_fid, n1, n2, myGlobals::nelems, myGlobals::nnodes, and thickness.
Referenced by driver(), and repeat_after_split().
void init_myGlobal | ( | myGlobals * | g | ) |
Definition at line 364 of file pgm.C.
References myGlobals::a, myGlobals::conn, myGlobals::coord, myGlobals::d, myGlobals::edgeBoundary, myGlobals::edgeConn, myGlobals::m_i, myGlobals::R_net, myGlobals::S11, myGlobals::S12, myGlobals::S22, and myGlobals::v.
Referenced by driver().
void repeat_after_split | ( | void * | data | ) |
Definition at line 477 of file pgm.C.
References calcMasses(), myGlobals::coord, FEM_Mesh_default_read(), FEM_Mesh_get_length(), myGlobals::nelems, myGlobals::nnodes, vector2d::x, and vector2d::y.
Referenced by driver().
const double matConst[4] = {3.692e9, 1.292e9, 3.692e9, 1.200e9 } |
const double density = 5.0*1000.0 |
const double thickness = 0.0001 |