concepts::Neumann< F > Class Template Referenceabstract

Abstract class for the Neumann boundary term. More...

#include <linearForm.hh>

Inheritance diagram for concepts::Neumann< F >:
concepts::LinearForm< F >

Public Member Functions

 Neumann (const BoundaryConditions *bc)
 Constructor. More...
 
virtual void operator() (const Element< typename Realtype< F >::type > &elm, ElementMatrix< F > &em) const=0
 Computes the element contribution to the function. More...
 
virtual ~Neumann ()
 

Protected Member Functions

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

Protected Attributes

std::unique_ptr< BoundaryConditionsbc_
 Reference to the boundary conditions. More...
 

Detailed Description

template<class F>
class concepts::Neumann< F >

Abstract class for the Neumann boundary term.

This linear form computes an contribution of an edge or face. The formula of the function on the boundary is inside bd.

The operator computes the element load vector. As for the computation of an element stiffness matrix, there are the loops over all quadrature points and the loops over all shape functions.

Author
Kersten Schmidt, 2004

Definition at line 89 of file linearForm.hh.

Constructor & Destructor Documentation

◆ Neumann()

template<class F >
concepts::Neumann< F >::Neumann ( const BoundaryConditions bc)

Constructor.

Parameters
bdBoundary condition

◆ ~Neumann()

template<class F >
virtual concepts::Neumann< F >::~Neumann ( )
virtual

Reimplemented in hp1D::Neumann.

Member Function Documentation

◆ info()

template<class F >
virtual std::ostream& concepts::Neumann< F >::info ( std::ostream &  os) const
protectedvirtual

Reimplemented from concepts::LinearForm< F >.

◆ operator()()

virtual void concepts::LinearForm< F, typename Realtype<F>::type >::operator() ( const Element< typename Realtype<F>::type > &  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

Member Data Documentation

◆ bc_

template<class F >
std::unique_ptr<BoundaryConditions> concepts::Neumann< F >::bc_
protected

Reference to the boundary conditions.

Definition at line 100 of file linearForm.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