Linear triangular element. More...

#include <element.hh>

Inheritance diagram for bem::Linear3d000< 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...
 
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
 
 Linear3d000 (const concepts::Triangle3d &cell, uint idx[])
 Constructor. More...
 
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...
 

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::Linear3d000< F >

Linear triangular element.

The vertices are computed only once in the contructor.

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

Definition at line 141 of file element.hh.

Member Typedef Documentation

◆ type

Definition at line 81 of file element.hh.

Constructor & Destructor Documentation

◆ Linear3d000()

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

Constructor.

Parameters
cellSupport
idxMap from the local to the global DoF

Member Function Documentation

◆ cell() [1/2]

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

Definition at line 160 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::Linear3d000< F >::graphics ( ) const
virtual

◆ info()

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

◆ n()

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

Returns the normal of the element.

Definition at line 152 of file element.hh.

◆ support()

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

Returns the support.

Definition at line 180 of file element.hh.

◆ T() [1/2]

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

Returns the T matix of the element.

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

Returns a vertex of triangle.

Parameters
iNumber of vertex.

Definition at line 158 of file element.hh.

Member Data Documentation

◆ cell_

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

Definition at line 168 of file element.hh.

◆ graphics_

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

Definition at line 176 of file element.hh.

◆ n_

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

Normal of the element.

Definition at line 174 of file element.hh.

◆ T_

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

T matrix.

Definition at line 170 of file element.hh.

◆ v_

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

Vertices of the triangle.

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