Constant triangular element with normed basis function. More...

#include <element.hh>

Inheritance diagram for bem::Constant3d002< F >:
concepts::ElementWithCell< concepts::Real >

Public Types

typedef concepts::Real type
 

Public Member Functions

virtual const concepts::Triangle3dcell () const
 
virtual const Cell & cell () const=0
 Returns the cell on which the element is built. More...
 
 Constant3d002 (const concepts::Triangle3d &cell, uint idx)
 Constructor. More...
 
Real3d elemMap (const Real coord_local) const
 
Real3d elemMap (const Real2d &coord_local) const
 
Real3d elemMap (const Real3d &coord_local) const
 
virtual const concepts::ElementGraphics< F > * graphics () const
 
const concepts::Unit3dn () const
 Returns the normal of the element. More...
 
const concepts::Trianglesupport () const
 Returns the support. More...
 
const concepts::TMatrixBase< F > & T () const
 Returns the T matix of the element. More...
 
virtual const TMatrixBase< concepts::Real > & T () const=0
 Returns the T matrix of the element. More...
 
const concepts::Real3dvertex (uint i) const
 Returns a vertex of triangle. More...
 
virtual ~Constant3d002 ()
 

Protected Member Functions

std::ostream & info (std::ostream &os) const
 

Private Attributes

const concepts::Triangle3dcell_
 
concepts::Unit3d n_
 Normal of the element. More...
 
concepts::TIndex< F > T_
 T matrix. More...
 
concepts::Real3d v_ [3]
 Vertices of the triangle. More...
 

Static Private Attributes

static std::unique_ptr< concepts::ElementGraphics< F > > graphics_
 

Detailed Description

template<class F = concepts::Real>
class bem::Constant3d002< F >

Constant triangular element with normed basis function.

The vertices are computed only once in the contructor.

Parameters
FField of the element (valid Real or Cmplx).

Definition at line 427 of file element.hh.

Member Typedef Documentation

◆ type

Definition at line 81 of file element.hh.

Constructor & Destructor Documentation

◆ Constant3d002()

template<class F = concepts::Real>
bem::Constant3d002< F >::Constant3d002 ( const concepts::Triangle3d cell,
uint  idx 
)

Constructor.

Parameters
cellSupport
idxMap from the local to the global DoF

◆ ~Constant3d002()

template<class F = concepts::Real>
virtual bem::Constant3d002< F >::~Constant3d002 ( )
virtual

Member Function Documentation

◆ cell() [1/2]

template<class F = concepts::Real>
virtual const concepts::Triangle3d& bem::Constant3d002< F >::cell ( ) const
inlinevirtual

Definition at line 447 of file element.hh.

◆ cell() [2/2]

virtual const Cell& concepts::ElementWithCell< concepts::Real >::cell ( ) const
pure virtualinherited

Returns the cell on which the element is built.

Implemented in bem::Constant3d002< concepts::Real >.

◆ elemMap() [1/3]

Real3d concepts::ElementWithCell< concepts::Real >::elemMap ( const Real  coord_local) const
inlineinherited

Definition at line 86 of file element.hh.

◆ elemMap() [2/3]

Real3d concepts::ElementWithCell< concepts::Real >::elemMap ( const Real2d coord_local) const
inlineinherited

Definition at line 90 of file element.hh.

◆ elemMap() [3/3]

Real3d concepts::ElementWithCell< concepts::Real >::elemMap ( const Real3d coord_local) const
inlineinherited

Definition at line 94 of file element.hh.

◆ graphics()

template<class F = concepts::Real>
virtual const concepts::ElementGraphics<F>* bem::Constant3d002< F >::graphics ( ) const
virtual

◆ info()

template<class F = concepts::Real>
std::ostream& bem::Constant3d002< F >::info ( std::ostream &  os) const
protected

◆ n()

template<class F = concepts::Real>
const concepts::Unit3d& bem::Constant3d002< F >::n ( ) const
inline

Returns the normal of the element.

Definition at line 439 of file element.hh.

◆ support()

template<class F >
const concepts::Triangle & bem::Constant3d002< F >::support
inline

Returns the support.

Definition at line 467 of file element.hh.

◆ T() [1/2]

template<class F = concepts::Real>
const concepts::TMatrixBase<F>& bem::Constant3d002< F >::T ( ) const
inline

Returns the T matix of the element.

Definition at line 437 of file element.hh.

◆ T() [2/2]

virtual const TMatrixBase<concepts::Real >& concepts::ElementWithCell< concepts::Real >::T ( ) const
pure virtualinherited

Returns the T matrix of the element.

Implemented in bem::Constant3d002< concepts::Real >.

◆ vertex()

template<class F = concepts::Real>
const concepts::Real3d& bem::Constant3d002< F >::vertex ( uint  i) const
inline

Returns a vertex of triangle.

Parameters
iNumber of vertex.

Definition at line 445 of file element.hh.

Member Data Documentation

◆ cell_

template<class F = concepts::Real>
const concepts::Triangle3d& bem::Constant3d002< F >::cell_
private

Definition at line 455 of file element.hh.

◆ graphics_

template<class F = concepts::Real>
std::unique_ptr<concepts::ElementGraphics<F> > bem::Constant3d002< F >::graphics_
staticprivate

Definition at line 463 of file element.hh.

◆ n_

template<class F = concepts::Real>
concepts::Unit3d bem::Constant3d002< F >::n_
private

Normal of the element.

Definition at line 459 of file element.hh.

◆ T_

template<class F = concepts::Real>
concepts::TIndex<F> bem::Constant3d002< F >::T_
private

T matrix.

Definition at line 457 of file element.hh.

◆ v_

template<class F = concepts::Real>
concepts::Real3d bem::Constant3d002< F >::v_[3]
private

Vertices of the triangle.

Definition at line 461 of file element.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