concepts::MappingStraightEdge3d Class Reference

A 3D straight edge element map. More...

#include <mappingEdge3D.hh>

Inheritance diagram for concepts::MappingStraightEdge3d:
concepts::MappingEdge3d concepts::Map1d concepts::OutputOperator

Public Member Functions

MappingStraightEdge3dclone () const override
 Virtual constructor. More...
 
Real3d derivative (const Real t, const uint n=1) const override
 Evaluates the n-th derivative of the edge mapping at the coordinate t. More...
 
MappingStraightEdge3dinverse () const override
 Create a heap-allocated copy of this edge with reversed parametrization. More...
 
 MappingStraightEdge3d (const MappingStraightEdge3d &other)
 Copy Constructor. More...
 
 MappingStraightEdge3d (const Real3d &vtx0, const Real3d &vtx1)
 Constructor. More...
 
Real3d operator() (const Real t) const override
 Evaluates the edge mapping at the coordinate t. More...
 
const Real3dvtx (uint i) const
 Returns i-th physical vertex of the edge. More...
 
 ~MappingStraightEdge3d () override
 

Protected Member Functions

std::ostream & info (std::ostream &os) const override
 Returns information in an output stream. More...
 

Protected Attributes

std::array< Real3d, 2 > vtx_
 Physical vertices $ \{ F_K(0), F_K(1) \} $. More...
 

Detailed Description

A 3D straight edge element map.

Element parametrization:

\[ F_K (t) = (1-t) F_K(0) + t F_K(1) \]

.

Author
Lukas Drescher, 2014

Definition at line 83 of file mappingEdge3D.hh.

Constructor & Destructor Documentation

◆ MappingStraightEdge3d() [1/2]

concepts::MappingStraightEdge3d::MappingStraightEdge3d ( const Real3d vtx0,
const Real3d vtx1 
)

Constructor.

Parameters
vtx0physical coordinate $ F_K(0) $ of first vertex of the edge
vtx1physical coordinate $ F_K(1) $ of second vertex of the edge

◆ MappingStraightEdge3d() [2/2]

concepts::MappingStraightEdge3d::MappingStraightEdge3d ( const MappingStraightEdge3d other)

Copy Constructor.

◆ ~MappingStraightEdge3d()

concepts::MappingStraightEdge3d::~MappingStraightEdge3d ( )
override

Member Function Documentation

◆ clone()

MappingStraightEdge3d* concepts::MappingStraightEdge3d::clone ( ) const
overridevirtual

Virtual constructor.

Create a heap-allocated copy of this edge.

Returns
Pointer to heap-allocated edge copy. To be deleted by the user.

Implements concepts::MappingEdge3d.

◆ derivative()

Real3d concepts::MappingStraightEdge3d::derivative ( const Real  t,
const uint  n = 1 
) const
overridevirtual

Evaluates the n-th derivative of the edge mapping at the coordinate t.

Parameters
norder of the derivative (<= 1 for most concrete types)
Returns
$ F^{(n)}_K(t)$

Implements concepts::MappingEdge3d.

◆ info()

std::ostream& concepts::MappingStraightEdge3d::info ( std::ostream &  os) const
overrideprotectedvirtual

Returns information in an output stream.

Reimplemented from concepts::MappingEdge3d.

◆ inverse()

MappingStraightEdge3d* concepts::MappingStraightEdge3d::inverse ( ) const
overridevirtual

Create a heap-allocated copy of this edge with reversed parametrization.

Returns
Pointer to heap-allocated edge copy. Has to be deleted by the user.

Implements concepts::MappingEdge3d.

◆ operator()()

Real3d concepts::MappingStraightEdge3d::operator() ( const Real  t) const
overridevirtual

Evaluates the edge mapping at the coordinate t.

Returns
$ F_K(t) $

Implements concepts::MappingEdge3d.

◆ vtx()

const Real3d& concepts::MappingEdge3d::vtx ( uint  i) const
inlineinherited

Returns i-th physical vertex of the edge.

Returns
$ F_K( i ) $

Definition at line 64 of file mappingEdge3D.hh.

Member Data Documentation

◆ vtx_

std::array<Real3d,2> concepts::MappingEdge3d::vtx_
protectedinherited

Physical vertices $ \{ F_K(0), F_K(1) \} $.

Definition at line 68 of file mappingEdge3D.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