MechSys  1.0
Computing library for simulations in continuum and discrete mechanics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Member Functions | Public Attributes
Mesh::Structured Class Reference

#include <structured.h>

Inheritance diagram for Mesh::Structured:
Mesh::Generic

List of all members.

Classes

struct  VertexInfo

Public Member Functions

 Structured (int NDim)
 ~Structured ()
void Generate (Array< Block > const &Blks, bool O2=false)
 Boundary marks are set first for Faces, then Edges, then Vertices (if any)
void GenBox (bool O2=true, int Nx=2, int Ny=2, int Nz=2, double Lx=1.0, double Ly=1.0, double Lz=1.0)
 Generate a cube with dimensions Lx,Ly,Lz and with tags on faces.
void GenQRing (bool O2=true, int Nx=2, int Ny=2, double r=1.0, double R=2.0, size_t Nb=2, double Ax=1.0, bool NonLin=false, char const *WeightsX=NULL)
 Generate a quarter of a ring.
void GenQRing (bool O2, int Nx, int Ny, int Nz, double r, double R, double t)
 Generate a quarter of a 3D ring (t=thickness)
void GenQDisk (bool O2, int Nx1, int Nx2, int Ny, double r, double R)
 Generate a quarter of a disk.
void GenQPlateHole (double r, double R, double L, int Nx1, int Nx2, int Ny1, int Ny2, bool O2)
 Generate a quarter of a square plate with inner hole.
void ShapeFunc (double r, double s, double t)
 Calculate shape function. Return results on N.

Public Attributes

Vec_t N
 Shape functions.

Constructor & Destructor Documentation

Mesh::Structured::Structured ( int  NDim) [inline]

Member Function Documentation

void Mesh::Structured::GenBox ( bool  O2 = true,
int  Nx = 2,
int  Ny = 2,
int  Nz = 2,
double  Lx = 1.0,
double  Ly = 1.0,
double  Lz = 1.0 
) [inline]

Generate a cube with dimensions Lx,Ly,Lz and with tags on faces.

void Mesh::Structured::Generate ( Array< Block > const &  Blks,
bool  O2 = false 
) [inline]

Boundary marks are set first for Faces, then Edges, then Vertices (if any)

void Mesh::Structured::GenQDisk ( bool  O2,
int  Nx1,
int  Nx2,
int  Ny,
double  r,
double  R 
) [inline]

Generate a quarter of a disk.

void Mesh::Structured::GenQPlateHole ( double  r,
double  R,
double  L,
int  Nx1,
int  Nx2,
int  Ny1,
int  Ny2,
bool  O2 
) [inline]

Generate a quarter of a square plate with inner hole.

void Mesh::Structured::GenQRing ( bool  O2 = true,
int  Nx = 2,
int  Ny = 2,
double  r = 1.0,
double  R = 2.0,
size_t  Nb = 2,
double  Ax = 1.0,
bool  NonLin = false,
char const *  WeightsX = NULL 
) [inline]

Generate a quarter of a ring.

void Mesh::Structured::GenQRing ( bool  O2,
int  Nx,
int  Ny,
int  Nz,
double  r,
double  R,
double  t 
) [inline]

Generate a quarter of a 3D ring (t=thickness)

void Mesh::Structured::ShapeFunc ( double  r,
double  s,
double  t 
) [inline]

Calculate shape function. Return results on N.


Member Data Documentation

Shape functions.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines