PPL Logo

libs/ck-libs/TMRC2D/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 outputMesh (int *elem, double *node, int ne, int nn, char *str)
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 36 of file pgm.C.

References CkExit().

Here is the call graph for this function:

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 pup_myGlobals ( pup_er  p,
myGlobals g 
)

double calcArea ( myGlobals g,
int  i 
)

Definition at line 248 of file pgm.C.

References PUP::a, PUP::b, c, myGlobals::conn, myGlobals::coord, n1, n2, vector2d::x, and vector2d::y.

void checkTriangle ( myGlobals g,
int  i 
)

Definition at line 262 of file pgm.C.

References calcArea(), and FEM_My_partition().

Here is the call 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 283 of file pgm.C.

References CmiAbort(), x, vector2d::x, and vector2d::y.

Here is the call graph for this function:

void calcMasses ( myGlobals g  ) 

Definition at line 329 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.

Here is the call graph for this function:

void init_myGlobal ( myGlobals g  ) 

void repeat_after_split ( void *  data  ) 

Definition at line 468 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.

Here is the call graph for this function:

void outputMesh ( int elem,
double *  node,
int  ne,
int  nn,
char *  str 
)

Definition at line 618 of file pgm.C.


Variable Documentation

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

Definition at line 25 of file pgm.C.

const double density = 5.0*1000.0

Definition at line 28 of file pgm.C.

const double thickness = 0.0001

Definition at line 30 of file pgm.C.

const double dt = 1.0e-12

Definition at line 34 of file pgm.C.


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