concepts::MapParallelepiped3d Class Reference

A 3D element map for a Parallelepiped. More...

#include <elementMaps3D.hh>

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

Public Member Functions

MapParallelepiped3dclone () const
 Returns a copy of the map. More...
 
std::ostream & info (std::ostream &os) const
 Returns information in an output stream. More...
 
Real jacobian () const
 Returns the jacobian. More...
 
 MapParallelepiped3d (const MapParallelepiped3d &map)
 Copy constructor. More...
 
 MapParallelepiped3d (Real3d vtx0, Real3d vtx1, Real3d vtx2, Real3d vtx3)
 Constructor. More...
 
Real3d operator() (Real x, Real y, Real z) const
 Returns a point in 3D mapped from the unit cube [0,1]3 onto the element in the original mesh. More...
 

Private Member Functions

void operator= (const MapParallelepiped3d &)
 Private assignement operator. More...
 

Private Attributes

Real3d B1_
 
Real3d B2_
 
Real3d B3_
 
Real3d b_
 

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() [1/2]

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)]$.

◆ MapParallelepiped3d() [2/2]

concepts::MapParallelepiped3d::MapParallelepiped3d ( const MapParallelepiped3d map)

Copy constructor.

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::PartMappingHexahedron3d, concepts::BlendingHexahedron3d, concepts::MappingHexahedron3d, and concepts::MapHexahedron3d.

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.

◆ operator=()

void concepts::MapParallelepiped3d::operator= ( const MapParallelepiped3d )
private

Private assignement operator.

Member Data Documentation

◆ B1_

Real3d concepts::MapParallelepiped3d::B1_
private

Definition at line 534 of file elementMaps3D.hh.

◆ B2_

Real3d concepts::MapParallelepiped3d::B2_
private

Definition at line 535 of file elementMaps3D.hh.

◆ B3_

Real3d concepts::MapParallelepiped3d::B3_
private

Definition at line 536 of file elementMaps3D.hh.

◆ b_

Real3d concepts::MapParallelepiped3d::b_
private

Definition at line 533 of file elementMaps3D.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich