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 | publishMeshToNetFEM (myGlobals &g, int myChunk, int t) |
int | countValidEntities (int *validData, int total) |
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] |
Definition at line 37 of file pgm-test.C.
References CkExit().
Definition at line 196 of file pgm-test.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, pup_isDeleting(), pup_isUnpacking(), myGlobals::R_net, myGlobals::S11, myGlobals::S12, myGlobals::S22, myGlobals::v, myGlobals::validEdge, myGlobals::validElem, and myGlobals::validNode.
Definition at line 260 of file pgm-test.C.
References PUP::a, PUP::b, c, myGlobals::conn, myGlobals::coord, n1, n2, vector2d::x, and vector2d::y.
Definition at line 274 of file pgm-test.C.
References calcArea(), and FEM_My_partition().
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 295 of file pgm-test.C.
References CmiAbort(), x, vector2d::x, and vector2d::y.
void calcMasses | ( | myGlobals & | g | ) |
Definition at line 342 of file pgm-test.C.
References calcArea(), myGlobals::conn, density, FEM_Update_field(), myGlobals::m_i, myGlobals::m_i_fid, n1, n2, myGlobals::nelems, myGlobals::nnodes, thickness, and myGlobals::validElem.
void init_myGlobal | ( | myGlobals * | g | ) |
Definition at line 371 of file pgm-test.C.
References myGlobals::a, myGlobals::conn, myGlobals::coord, myGlobals::d, myGlobals::m_i, myGlobals::R_net, myGlobals::S11, myGlobals::S12, myGlobals::S22, and myGlobals::v.
void repeat_after_split | ( | void * | data | ) |
Definition at line 485 of file pgm-test.C.
References calcMasses(), myGlobals::coord, FEM_Mesh_default_read(), FEM_Mesh_get_length(), myGlobals::nelems, myGlobals::nnodes, myGlobals::validNode, vector2d::x, and vector2d::y.
const double matConst[4] = {3.692e9, 1.292e9, 3.692e9, 1.200e9 } |
Definition at line 26 of file pgm-test.C.
const double density = 5.0*1000.0 |
Definition at line 29 of file pgm-test.C.
const double thickness = 0.0001 |
Definition at line 31 of file pgm-test.C.
const double dt = 1.0e-12 |
Definition at line 35 of file pgm-test.C.