hp2Dedge::DirichletRotRot Class Referenceabstract

Linear form in 2D for coping the Dirichlet boundary for RotRot bilinearform. More...

#include <boundaries.hh>

Inheritance diagram for hp2Dedge::DirichletRotRot:
concepts::LinearForm< Real >

Public Member Functions

 DirichletRotRot (DirichletCoefficients *dc=0)
 Constructor. More...
 
void operator() (const concepts::Element< Real > &elm, concepts::ElementMatrix< Real > &em) const
 Computes the element load vector. More...
 
virtual void operator() (const Element< typename Realtype< Real >::type > &elm, ElementMatrix< Real > &em) const=0
 Computes the element contribution to the function. More...
 
void operator() (const Quad<> &elm, concepts::ElementMatrix< Real > &em) const
 
virtual ~DirichletRotRot ()
 

Protected Member Functions

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

Private Attributes

DirichletCoefficientsdc_
 Reference to the local coefficients, which fullfill bc. More...
 
concepts::Array< Real > function_
 
concepts::Array< Real > jacobianReciprocal_
 Intermediate data for element matrix computation. More...
 
concepts::Array< Real > tmp_
 

Detailed Description

Linear form in 2D for coping the Dirichlet boundary for RotRot bilinearform.

This linear form computes for elements with edges lying on the boundary

\[ \int_K \mbox{curl} \vec{f} \mbox{curl} \vec{v} \, dx\]

where

\[\vec{t} = \vec{n}^\bot = {-n_y \choose n_x} \]

is the tangential vector,

\[\vec{n}\]

the outer normal vector, and

\[g\]

the tangential component of the Neumann boundary.

Currently only on quadrilaterals.

Author
Kersten Schmidt, 2004

Definition at line 75 of file boundaries.hh.

Constructor & Destructor Documentation

◆ DirichletRotRot()

hp2Dedge::DirichletRotRot::DirichletRotRot ( DirichletCoefficients dc = 0)

Constructor.

Parameters
dcLocal coefficients, which fullfill bc

◆ ~DirichletRotRot()

virtual hp2Dedge::DirichletRotRot::~DirichletRotRot ( )
virtual

Member Function Documentation

◆ info()

virtual std::ostream& hp2Dedge::DirichletRotRot::info ( std::ostream &  os) const
protectedvirtual

Reimplemented from concepts::LinearForm< Real >.

◆ operator()() [1/3]

void hp2Dedge::DirichletRotRot::operator() ( const concepts::Element< Real > &  elm,
concepts::ElementMatrix< Real > &  em 
) const

Computes the element load vector.

There are the loops over all quadrature points and the loops over all shape functions.

Parameters
elmThe element for which the load vector should be computed.
emThe load vector

◆ operator()() [2/3]

virtual void concepts::LinearForm< Real , typename Realtype<Real >::type >::operator() ( const Element< G > &  elm,
ElementMatrix< F > &  em 
) const
pure virtualinherited

Computes the element contribution to the function.

Parameters
elmElement on which the computations should be performed
emThe local matrix

◆ operator()() [3/3]

void hp2Dedge::DirichletRotRot::operator() ( const Quad<> &  elm,
concepts::ElementMatrix< Real > &  em 
) const

Member Data Documentation

◆ dc_

DirichletCoefficients* hp2Dedge::DirichletRotRot::dc_
private

Reference to the local coefficients, which fullfill bc.

Definition at line 100 of file boundaries.hh.

◆ function_

concepts::Array<Real> hp2Dedge::DirichletRotRot::function_
private

Definition at line 97 of file boundaries.hh.

◆ jacobianReciprocal_

concepts::Array<Real> hp2Dedge::DirichletRotRot::jacobianReciprocal_
private

Intermediate data for element matrix computation.

Definition at line 97 of file boundaries.hh.

◆ tmp_

concepts::Array<Real> hp2Dedge::DirichletRotRot::tmp_
mutableprivate

Definition at line 98 of file boundaries.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