bem::Dirac3d000< F > Class Template Referenceabstract

Dirac element on triangles (used for collocation method). More...

#include <element.hh>

Inheritance diagram for bem::Dirac3d000< 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...
 
 Dirac3d000 (const concepts::Triangle3d &cell, uint idx[], uint vtx[], uint n)
 Constructor. More...
 
Real3d elemMap (const Real coord_local) const
 
Real3d elemMap (const Real2d &coord_local) const
 
Real3d elemMap (const Real3d &coord_local) const
 
const concepts::Vertexsupport (uint i) const
 Returns support of Dirac. More...
 
const concepts::TMatrixBase< F > & T () const
 Returns T matrix 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 vertex of triangle. More...
 

Protected Member Functions

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

Private Attributes

const concepts::Triangle3dcell_
 Cell of the Dirac's. More...
 
concepts::uchar ctrl_
 Control which vertex belong to which DoF. More...
 
concepts::TIndex< F > T_
 T matrix. More...
 
concepts::Real3d v_ [3]
 Vertices of the triangle. More...
 

Detailed Description

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

Dirac element on triangles (used for collocation method).

The vertices are computed only once in the contructor.

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

Definition at line 29 of file element.hh.

Member Typedef Documentation

◆ type

Definition at line 81 of file element.hh.

Constructor & Destructor Documentation

◆ Dirac3d000()

template<class F = concepts::Real>
bem::Dirac3d000< F >::Dirac3d000 ( const concepts::Triangle3d cell,
uint  idx[],
uint  vtx[],
uint  n 
)

Constructor.

Parameters
cellCell of the Dirac's.
idxMap from the local to the global DoF.
vtxLocal vertex numbers $0, 1, 2$ which are the support of a Dirac.
nNumber of Dirac's on this triangle (local DoF's).

Member Function Documentation

◆ cell() [1/2]

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

Definition at line 51 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.

◆ info()

template<class F = concepts::Real>
virtual std::ostream& bem::Dirac3d000< F >::info ( std::ostream &  os) const
protectedvirtual

◆ support()

template<class F >
const concepts::Vertex & bem::Dirac3d000< F >::support ( uint  i) const
inline

Returns support of Dirac.

Parameters
iLocal number of DoF.

Definition at line 68 of file element.hh.

◆ T() [1/2]

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

Returns T matrix of the element.

Definition at line 42 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::Dirac3d000< F >::vertex ( uint  i) const
inline

Returns vertex of triangle.

Parameters
iNumber of vertex.

Definition at line 50 of file element.hh.

Member Data Documentation

◆ cell_

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

Cell of the Dirac's.

Definition at line 57 of file element.hh.

◆ ctrl_

template<class F = concepts::Real>
concepts::uchar bem::Dirac3d000< F >::ctrl_
private

Control which vertex belong to which DoF.

Definition at line 59 of file element.hh.

◆ T_

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

T matrix.

Definition at line 61 of file element.hh.

◆ v_

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

Vertices of the triangle.

Definition at line 63 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