Constant space element with a level dependent key. More...

#include <element.hh>

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

Classes

class  Key
 Key with some level dependent information. More...
 

Public Types

typedef concepts::Real type
 

Public Member Functions

virtual concepts::Triangle3dcell () const
 
virtual const Cell & cell () const=0
 Returns the cell on which the element is built. More...
 
 Constant3d001 (concepts::Triangle3d &cell, const Constant3d001< F >::Key &key, 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 Keykey () const
 Returns the key of the element. 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...
 

Static Public Member Functions

static uint maxlevel ()
 Maximal and minimal level of an element in the space. More...
 
static uint minlevel ()
 
static void setmaxlevel (uint maxlvl)
 
static void setminlevel (uint minlvl)
 

Protected Member Functions

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

Private Attributes

concepts::Triangle3dcell_
 Cell of the element. More...
 
Key key_
 Key of the element. More...
 
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_
 
static uint maxlvl_
 Maximal level of an element in the space. More...
 
static uint minlvl_
 Minimal level of an element in the space. More...
 

Detailed Description

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

Constant space element with a level dependent key.

This key is used for adaptive refinement.

Parameters
Fbody of the space (valid Real or Cmplx)

Definition at line 335 of file element.hh.

Member Typedef Documentation

◆ type

Definition at line 81 of file element.hh.

Constructor & Destructor Documentation

◆ Constant3d001()

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

Constructor.

Parameters
cellSupport
keyKey with some level dependent information
idxMap frlom the local to the global DoF

Member Function Documentation

◆ cell() [1/2]

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

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

◆ info()

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

◆ key()

template<class F = concepts::Real>
const Key& bem::Constant3d001< F >::key ( ) const
inline

Returns the key of the element.

Definition at line 377 of file element.hh.

◆ maxlevel()

template<class F = concepts::Real>
static uint bem::Constant3d001< F >::maxlevel ( )
inlinestatic

Maximal and minimal level of an element in the space.

This information will be generated by the space and used from the bilinear form

Definition at line 383 of file element.hh.

◆ minlevel()

template<class F = concepts::Real>
static uint bem::Constant3d001< F >::minlevel ( )
inlinestatic

Definition at line 384 of file element.hh.

◆ n()

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

Returns the normal of the element.

Definition at line 367 of file element.hh.

◆ setmaxlevel()

template<class F = concepts::Real>
static void bem::Constant3d001< F >::setmaxlevel ( uint  maxlvl)
inlinestatic

Definition at line 385 of file element.hh.

◆ setminlevel()

template<class F = concepts::Real>
static void bem::Constant3d001< F >::setminlevel ( uint  minlvl)
inlinestatic

Definition at line 386 of file element.hh.

◆ support()

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

Returns the support.

Definition at line 414 of file element.hh.

◆ T() [1/2]

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

Returns the T matix of the element.

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

Returns a vertex of triangle.

Parameters
iNumber of vertex.

Definition at line 373 of file element.hh.

Member Data Documentation

◆ cell_

template<class F = concepts::Real>
concepts::Triangle3d* bem::Constant3d001< F >::cell_
private

Cell of the element.

Definition at line 395 of file element.hh.

◆ graphics_

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

Definition at line 410 of file element.hh.

◆ key_

template<class F = concepts::Real>
Key bem::Constant3d001< F >::key_
private

Key of the element.

Definition at line 403 of file element.hh.

◆ maxlvl_

template<class F = concepts::Real>
uint bem::Constant3d001< F >::maxlvl_
staticprivate

Maximal level of an element in the space.

Definition at line 406 of file element.hh.

◆ minlvl_

template<class F = concepts::Real>
uint bem::Constant3d001< F >::minlvl_
staticprivate

Minimal level of an element in the space.

Definition at line 408 of file element.hh.

◆ n_

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

Normal of the element.

Definition at line 399 of file element.hh.

◆ T_

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

T matrix.

Definition at line 397 of file element.hh.

◆ v_

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

Vertices of the triangle.

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