Shared data for RotRot and DivDiv. More...

#include <maxwell.hh>

Inheritance diagram for hp2D::MaxwellSharedData:
concepts::Cloneable

Public Member Functions

virtual MaxwellSharedDataclone () const
 Virtual constructor. More...
 
 MaxwellSharedData ()
 
virtual ~MaxwellSharedData ()
 

Public Attributes

const Quad< Real > * elm
 
concepts::Array< Real > jacobian
 
concepts::Array< concepts::MapReal2djacobianInv
 

Detailed Description

Shared data for RotRot and DivDiv.

The different components of the vector valued bilinear form for the rot-rot or div-div term need the Jacobian of the element map in exactly the same points. This is taken care of by the data fields of this class. They are common to all components of the vector valued bilinear form.

RotRot::setup and DivDiv::setup take care of setting all up correctly. It uses the function RotRot::data(concepts::Cloneable*) and DivDiv::data(concepts::Cloneable*) to set the shared data of the components.

Author
Philipp Frauenfelder, 2004

Definition at line 38 of file maxwell.hh.

Constructor & Destructor Documentation

◆ MaxwellSharedData()

hp2D::MaxwellSharedData::MaxwellSharedData ( )
inline

Definition at line 40 of file maxwell.hh.

◆ ~MaxwellSharedData()

virtual hp2D::MaxwellSharedData::~MaxwellSharedData ( )
inlinevirtual

Definition at line 41 of file maxwell.hh.

Member Function Documentation

◆ clone()

virtual MaxwellSharedData* hp2D::MaxwellSharedData::clone ( ) const
inlinevirtual

Virtual constructor.

Returns a pointer to a copy of itself. The caller is responsible to destroy this copy.

Implements concepts::Cloneable.

Definition at line 42 of file maxwell.hh.

Member Data Documentation

◆ elm

const Quad<Real>* hp2D::MaxwellSharedData::elm

Definition at line 46 of file maxwell.hh.

◆ jacobian

concepts::Array<Real> hp2D::MaxwellSharedData::jacobian

Definition at line 44 of file maxwell.hh.

◆ jacobianInv

concepts::Array<concepts::MapReal2d> hp2D::MaxwellSharedData::jacobianInv

Definition at line 45 of file maxwell.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