WARPXM v1.10.0
Loading...
Searching...
No Matches
WmStructuredSquare Class Reference

Class used for generating Structured Geometry information for kinetic phase space calculations specifically of a SQUARE this object is 2D where the "x" direction is x and where the "y" direction is vx. More...

#include <wmstructuredsquare.h>

Inheritance diagram for WmStructuredSquare:
WmStructuredGeometry

Detailed Description

Class used for generating Structured Geometry information for kinetic phase space calculations specifically of a SQUARE this object is 2D where the "x" direction is x and where the "y" direction is vx.

Public Member Functions

 WmStructuredSquare (const WmBasisArraySet &PhaseSpaceBasisArraySet)
 Constructor.
 
void generateNormals ()
 Generate the face normals of this type of element.
 
void generatePositionDirectedFaceNumbers ()
 Generate the face numbers with components of normal in position direction.
 
void generateVelocityDirectedFaceNumbers ()
 Generate the face numbers with components of normal in velocity direction.
 
int getOppositeVelocityDirectedFaceNode (const int globalNodeNumber, const int faceNumber)
 gets the opposite node number on a velocity directed face, given a global node number on the inside element and face number of the velocityDirectedFace
 
- Public Member Functions inherited from WmStructuredGeometry
 WmStructuredGeometry (const WmBasisArraySet &PhaseSpaceBasisArraySet)
 Create unstructured geometry for a given patch.
 
virtual ~WmStructuredGeometry ()
 Destroy geometry.
 
void setup ()
 Setup calls some of these functions that we want to setup.
 
virtual void generateNormals ()=0
 Generate the face normals of this type of element.
 
virtual void generatePositionDirectedFaceNumbers ()=0
 Generate the face numbers with components of normal in position direction.
 
virtual void generateVelocityDirectedFaceNumbers ()=0
 Generate the face numbers with components of normal in velocity direction.
 
virtual int getOppositeVelocityDirectedFaceNode (const int globalNodeNumber, const int faceNumber)=0
 gets the opposite node number on a velocity directed face, given a global node number on the inside element and face number of the velocityDirectedFace
 
const std::vector< real > & getRealNormal (const int face)
 Get the real face normals of this type of element.
 
const std::vector< real > & getIsoparametricNormal (const int face)
 Get the parametric face normals of this type of element.
 
const std::vector< int > & getPositionDirectedFaceNumbers ()
 Get the face numbers with components of normal in position direction.
 
const std::vector< int > & getVelocityDirectedFaceNumbers ()
 Get the face numbers with components of normal in velocity direction.
 
int getNodeOrientation ()
 Get node orientation.
 
const std::vector< int > & getVelocityDirectedOppositeFaceNumbers ()
 Get the opposite face numbers with components of normal in velocity direction These are the velocity face numbers that border the other velocity face, matched by element number of this array e.g.
 

Additional Inherited Members

- Protected Attributes inherited from WmStructuredGeometry
std::vector< int > _position_directed_faces
 
int _num_position_directed_faces
 
std::vector< int > _velocity_directed_faces
 
int _num_velocity_directed_faces
 
std::vector< int > _velocity_directed_opposite_faces
 
std::vector< std::vector< real > > _real_normals
 
std::vector< std::vector< real > > _isoparametric_normals
 
int _node_orientation
 
WmBasisArraySet _phase_space_basis_array_set
 

Constructor & Destructor Documentation

◆ WmStructuredSquare()

WmStructuredSquare::WmStructuredSquare ( const WmBasisArraySet PhaseSpaceBasisArraySet)

Constructor.

Member Function Documentation

◆ generateNormals()

void WmStructuredSquare::generateNormals ( )
virtual

Generate the face normals of this type of element.

Implements WmStructuredGeometry.

◆ generatePositionDirectedFaceNumbers()

void WmStructuredSquare::generatePositionDirectedFaceNumbers ( )
virtual

Generate the face numbers with components of normal in position direction.

Implements WmStructuredGeometry.

◆ generateVelocityDirectedFaceNumbers()

void WmStructuredSquare::generateVelocityDirectedFaceNumbers ( )
virtual

Generate the face numbers with components of normal in velocity direction.

Implements WmStructuredGeometry.

◆ getOppositeVelocityDirectedFaceNode()

int WmStructuredSquare::getOppositeVelocityDirectedFaceNode ( const int  globalNodeNumber,
const int  faceNumber 
)
virtual

gets the opposite node number on a velocity directed face, given a global node number on the inside element and face number of the velocityDirectedFace

Implements WmStructuredGeometry.


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