MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
polar-nc.cpp File Reference

Go to the source code of this file.

Functions

MeshMake2D (int nsteps, real_t rstep, real_t phi, real_t aspect, int order, bool sfc)
 
int GetMidVertex (int v1, int v2, real_t r, real_t u, real_t v, bool hanging, Mesh *mesh, HashTable< Vert > &hash)
 
void MakeLayer (int vx1, int vy1, int vz1, int vx2, int vy2, int vz2, int level, real_t r1, real_t r2, real_t u1, real_t v1, real_t u2, real_t v2, real_t u3, real_t v3, bool bnd1, bool bnd2, bool bnd3, bool bnd4, Mesh *mesh, HashTable< Vert > &hash, Array< Params3 > &params)
 
void MakeCenter (int origin, int vx, int vy, int vz, int level, real_t r, real_t u1, real_t v1, real_t u2, real_t v2, real_t u3, real_t v3, bool bnd1, bool bnd2, bool bnd3, bool bnd4, Mesh *mesh, HashTable< Vert > &hash, Array< Params3 > &params)
 
MeshMake3D (int nsteps, real_t rstep, real_t aspect, int order, bool sfc)
 
int main (int argc, char *argv[])
 

Variables

const real_t pi2 = M_PI / 2
 

Function Documentation

◆ GetMidVertex()

int GetMidVertex ( int v1,
int v2,
real_t r,
real_t u,
real_t v,
bool hanging,
Mesh * mesh,
HashTable< Vert > & hash )

Definition at line 268 of file polar-nc.cpp.

◆ main()

int main ( int argc,
char * argv[] )

Definition at line 486 of file polar-nc.cpp.

◆ Make2D()

Mesh * Make2D ( int nsteps,
real_t rstep,
real_t phi,
real_t aspect,
int order,
bool sfc )

Definition at line 49 of file polar-nc.cpp.

◆ Make3D()

Mesh * Make3D ( int nsteps,
real_t rstep,
real_t aspect,
int order,
bool sfc )

Definition at line 370 of file polar-nc.cpp.

◆ MakeCenter()

void MakeCenter ( int origin,
int vx,
int vy,
int vz,
int level,
real_t r,
real_t u1,
real_t v1,
real_t u2,
real_t v2,
real_t u3,
real_t v3,
bool bnd1,
bool bnd2,
bool bnd3,
bool bnd4,
Mesh * mesh,
HashTable< Vert > & hash,
Array< Params3 > & params )

Definition at line 333 of file polar-nc.cpp.

◆ MakeLayer()

void MakeLayer ( int vx1,
int vy1,
int vz1,
int vx2,
int vy2,
int vz2,
int level,
real_t r1,
real_t r2,
real_t u1,
real_t v1,
real_t u2,
real_t v2,
real_t u3,
real_t v3,
bool bnd1,
bool bnd2,
bool bnd3,
bool bnd4,
Mesh * mesh,
HashTable< Vert > & hash,
Array< Params3 > & params )

Definition at line 287 of file polar-nc.cpp.

Variable Documentation

◆ pi2

const real_t pi2 = M_PI / 2

Definition at line 249 of file polar-nc.cpp.