Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::MapParallelepiped3d Class Reference

#include <elementMaps3D.hh>

Inheritance diagram for concepts::MapParallelepiped3d:
concepts::Map3d concepts::OutputOperator

Public Member Functions

 MapParallelepiped3d (Real3d vtx0, Real3d vtx1, Real3d vtx2, Real3d vtx3)
 
 MapParallelepiped3d (const MapParallelepiped3d &map)
 Copy constructor.
 
Real3d operator() (Real x, Real y, Real z) const
 
Real jacobian () const
 Returns the jacobian.
 
MapParallelepiped3dclone () const
 Returns a copy of the map.
 
std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

Detailed Description

A 3D element map for a Parallelepiped. The reference element is the unit cube.

Given four corners the map is computed internally. The origin of the coordinate system is mapped to the first corner. The other three corners are the image of the points (1,0,0), (0,1,0) and (0,0,1).

Definition at line 495 of file elementMaps3D.hh.

Constructor & Destructor Documentation

◆ MapParallelepiped3d()

concepts::MapParallelepiped3d::MapParallelepiped3d ( Real3d  vtx0,
Real3d  vtx1,
Real3d  vtx2,
Real3d  vtx3 
)

Constructor. Takes four physical corners of the parallelepiped and computes the element map: $F_K : S \rightarrow K$ with $\vec x = F_K(\xi) = B \cdot \vec \xi + \vec b$, where $\vec b = \mbox{vtx0}$ and $B = [(\mbox{vtx1} - \vec b)
(\mbox{vtx2} - \vec b) (\mbox{vtx3} - \vec b)]$.

Member Function Documentation

◆ clone()

MapParallelepiped3d * concepts::MapParallelepiped3d::clone ( ) const
inline

Returns a copy of the map.

Definition at line 528 of file elementMaps3D.hh.

◆ info()

std::ostream & concepts::Map3d::info ( std::ostream &  os) const
inlinevirtualinherited

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Reimplemented in concepts::MapHexahedron3d, concepts::MappingHexahedron3d, and concepts::PartMappingHexahedron3d.

Definition at line 28 of file elementMaps3D.hh.

◆ jacobian()

Real concepts::MapParallelepiped3d::jacobian ( ) const
inline

Returns the jacobian.

Definition at line 523 of file elementMaps3D.hh.

◆ operator()()

Real3d concepts::MapParallelepiped3d::operator() ( Real  x,
Real  y,
Real  z 
) const
inline

Returns a point in 3D mapped from the unit cube [0,1]3 onto the element in the original mesh.

Returns
$F_K(x,y,z)$
Parameters
x$\in [0, 1]$
y$\in [0, 1]$
z$\in [0, 1]$

Definition at line 516 of file elementMaps3D.hh.


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