SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
PrismLinearLgnUnitElement Class Reference

Class for describing unit geometry of PrismLinearLgn. More...

#include <PrismLinearLgn.h>

Inheritance diagram for PrismLinearLgnUnitElement:
PrismCubicHmtUnitElement PrismLinearLgn< T > PrismQuadraticLgnUnitElement PrismCubicHmt< T > PrismQuadraticLgn< T >

Public Member Functions

 PrismLinearLgnUnitElement ()
 
virtual ~PrismLinearLgnUnitElement ()
 

Static Public Member Functions

static int domain_dimension ()
 return dimension of domain More...
 
static double domain_size ()
 return size of the domain More...
 
static int number_of_vertices ()
 return number of vertices More...
 
static int number_of_mesh_vertices ()
 return number of vertices in mesh More...
 
static int number_of_edges ()
 return number of edges More...
 
static int dofs ()
 return degrees of freedom More...
 
static int vertices_of_face ()
 return number of vertices per face More...
 
static int faces_of_cell ()
 return number of faces per cell More...
 
static double length (int edge)
 
static double area (int face)
 return area More...
 
static double volume ()
 return volume More...
 

Static Public Attributes

static SCISHARE double unit_vertices [6][3]
 Parametric coordinates of vertices of unit edge. More...
 
static SCISHARE int unit_edges [9][2]
 References to vertices of unit edge. More...
 
static SCISHARE int unit_faces [5][4]
 References to vertices of unit face. More...
 
static SCISHARE double unit_face_normals [5][3]
 Normals of unit face. More...
 
static SCISHARE double unit_face_areas [5]
 Precalculated area of faces. More...
 
static SCISHARE double unit_center [3]
 Center of the unit element. More...
 

Detailed Description

Class for describing unit geometry of PrismLinearLgn.

Constructor & Destructor Documentation

virtual ~PrismLinearLgnUnitElement ( )
inlinevirtual

Member Function Documentation

static double area ( int  face)
inlinestatic

return area

static int dofs ( )
inlinestatic

return degrees of freedom

static int domain_dimension ( )
inlinestatic

return dimension of domain

static double domain_size ( )
inlinestatic

return size of the domain

static int faces_of_cell ( )
inlinestatic

return number of faces per cell

static double length ( int  edge)
inlinestatic

< return length

static int number_of_edges ( )
inlinestatic

return number of edges

static int number_of_mesh_vertices ( )
inlinestatic

return number of vertices in mesh

static int number_of_vertices ( )
inlinestatic

return number of vertices

static int vertices_of_face ( )
inlinestatic

return number of vertices per face

static double volume ( )
inlinestatic

return volume

Member Data Documentation

double unit_center
static
Initial value:
=
{ 1.0/3.0, 1.0/3.0, 0.5}

Center of the unit element.

int unit_edges
static
Initial value:
=
{{0,1}, {0,2}, {0,3},
{1,2}, {1,4}, {2,5},
{3,4}, {3,5}, {4,5}}

References to vertices of unit edge.

double unit_face_areas
static
Initial value:
=
{ .5, .5, 1.41421356, 1., 1.}

Precalculated area of faces.

double unit_face_normals
static
Initial value:
=
{ {0.000000e+00, 0.000000e+00, 1.000000e+00},
{0.000000e+00, 0.000000e+00, -1.000000e+00},
{-7.071068e-01, -7.071068e-01, 0.000000e+00},
{0.000000e+00, 1.000000e+00, 0.000000e+00},
{1.000000e+00, 0.000000e+00, 0.000000e+00} }

Normals of unit face.

int unit_faces
static
Initial value:
=
{{0,1,2,-1}, {5,4,3,-1}, {4,5,2,1}, {3,4,1,0}, {0,2,5,3}}

References to vertices of unit face.

double unit_vertices
static
Initial value:
=
{{0,0,0}, {1,0,0}, {0,1,0},
{0,0,1}, {1,0,1}, {0,1,1}}

Parametric coordinates of vertices of unit edge.


The documentation for this class was generated from the following files: