PPL Logo

libs/ck-libs/tmr/pgm.C File Reference

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


Function Documentation

static void die ( const char *  str  )  [static]

Definition at line 38 of file pgm.C.

References CkExit().

Here is the call graph for this function:

void resize_nodes ( void *  data,
int len,
int max 
)

void resize_elems ( void *  data,
int len,
int max 
)

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void resize_edges ( void *  data,
int len,
int max 
)

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void pup_myGlobals ( pup_er  p,
myGlobals g 
)

double calcArea ( myGlobals g,
int  i 
)

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().

Here is the caller graph for this function:

void checkTriangle ( myGlobals g,
int  i 
)

Definition at line 267 of file pgm.C.

References calcArea(), and FEM_My_partition().

Referenced by driver().

Here is the call graph for this function:

Here is the caller graph for this function:

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 
)

Definition at line 4 of file cst_nl.C.

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void init_myGlobal ( myGlobals g  ) 

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().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

const double matConst[4] = {3.692e9, 1.292e9, 3.692e9, 1.200e9 }

Definition at line 27 of file pgm.C.

Referenced by driver().

const double density = 5.0*1000.0

Definition at line 30 of file pgm.C.

Referenced by calcMasses().

const double thickness = 0.0001

Definition at line 32 of file pgm.C.

Referenced by calcMasses().

const double dt = 1.0e-12

Definition at line 36 of file pgm.C.


Generated on Mon Sep 21 08:10:56 2020 for Charm++ by  doxygen 1.5.5