PPL Logo

libs/ck-libs/TMRC2D/pgm-remesh.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 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


Function Documentation

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

Definition at line 36 of file pgm-remesh.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 259 of file pgm-remesh.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 273 of file pgm-remesh.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 294 of file pgm-remesh.C.

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

Here is the call graph for this function:

void calcMasses ( myGlobals g  ) 

Definition at line 341 of file pgm-remesh.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.

Here is the call graph for this function:

void init_myGlobal ( myGlobals g  ) 

void repeat_after_split ( void *  data  ) 

void publishMeshToNetFEM ( myGlobals g,
int  myChunk,
int  t 
)

Definition at line 659 of file pgm-remesh.C.

References myGlobals::conn, myGlobals::coord, count, n, myGlobals::nelems, NetFEM_Begin(), NetFEM_Elements(), NetFEM_End(), NetFEM_Nodes(), NetFEM_Scalar(), myGlobals::nnodes, myGlobals::validElem, and myGlobals::validNode.

Referenced by driver().

Here is the call graph for this function:

Here is the caller graph for this function:

int countValidEntities ( int validData,
int  total 
)

Definition at line 650 of file pgm-remesh.C.


Variable Documentation

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

Definition at line 25 of file pgm-remesh.C.

const double density = 5.0*1000.0

Definition at line 28 of file pgm-remesh.C.

const double thickness = 0.0001

Definition at line 30 of file pgm-remesh.C.

const double dt = 1.0e-12

Definition at line 34 of file pgm-remesh.C.


Generated on Mon Sep 21 08:11:27 2020 for Charm++ by  doxygen 1.5.5