QuOc

 

Public Member Functions | Protected Types | Protected Attributes

aol::SquaredWeightStiffOp< ConfiguratorType, IndexMode > Class Template Reference

#include <FEOpInterface.h>

Inheritance diagram for aol::SquaredWeightStiffOp< ConfiguratorType, IndexMode >:
aol::FELinScalarWeightedStiffInterface< ConfiguratorType, SquaredWeightStiffOp< ConfiguratorType, IndexMode >, IndexMode > aol::FELinOpInterface< ConfiguratorType::RealType, ConfiguratorType, FELinScalarWeightedStiffInterface< ConfiguratorType, SquaredWeightStiffOp< ConfiguratorType, IndexMode >, IndexMode >, IndexMode > aol::provideVirtualGetCoeffClass< ConfiguratorType > aol::FEOpInterface< ConfiguratorType, aol::Vector< ConfiguratorType::RealType > > aol::Op< aol::Vector< ConfiguratorType::RealType >, aol::Vector< ConfiguratorType::RealType > >

List of all members.

Public Member Functions

 SquaredWeightStiffOp (const typename ConfiguratorType::InitType &Grid, const aol::Vector< RealType > &W, aol::OperatorType OpType=aol::ONTHEFLY)
RealType getCoeff (const qc::Element &El, int QuadPoint, const typename ConfiguratorType::DomVecType &) const

Protected Types

typedef ConfiguratorType::RealType RealType

Protected Attributes

const
aol::DiscreteFunctionDefault
< ConfiguratorType > 
_w

Detailed Description

template<typename ConfiguratorType, GridGlobalIndexMode IndexMode = QUOC_GRID_INDEX_MODE>
class aol::SquaredWeightStiffOp< ConfiguratorType, IndexMode >

This class represents the weighted stiffness matrix $ \left(\int_\Omega w(x)^2\nabla\varphi_i(x)\cdot\nabla\varphi_j(x)dx\right)_{ij}$. Here, the $ \varphi $ represent the finite element base functions, and the domain $ \Omega $ is represented by the grid which is passed to the constructor. Furthermore, $ w $ is passed to the constructor as aol::Vector.

Same usage as aol::MassOp.

Author:
Wirth

Definition at line 2326 of file FEOpInterface.h.


Member Typedef Documentation

template<typename ConfiguratorType , GridGlobalIndexMode IndexMode = QUOC_GRID_INDEX_MODE>
typedef ConfiguratorType::RealType aol::SquaredWeightStiffOp< ConfiguratorType, IndexMode >::RealType [protected]

Constructor & Destructor Documentation

template<typename ConfiguratorType , GridGlobalIndexMode IndexMode = QUOC_GRID_INDEX_MODE>
aol::SquaredWeightStiffOp< ConfiguratorType, IndexMode >::SquaredWeightStiffOp ( const typename ConfiguratorType::InitType &  Grid,
const aol::Vector< RealType > &  W,
aol::OperatorType  OpType = aol::ONTHEFLY 
) [inline]

Member Function Documentation

template<typename ConfiguratorType , GridGlobalIndexMode IndexMode = QUOC_GRID_INDEX_MODE>
RealType aol::SquaredWeightStiffOp< ConfiguratorType, IndexMode >::getCoeff ( const qc::Element El,
int  QuadPoint,
const typename ConfiguratorType::DomVecType &   
) const [inline]

Returns $ w(x)^2 $ at the point $x$ specified by element, quadrature point, and local coordinates.

Definition at line 2344 of file FEOpInterface.h.

References aol::SquaredWeightStiffOp< ConfiguratorType, IndexMode >::_w, and aol::Sqr().

                                                                                                                                {
    return aol::Sqr( _w.evaluateAtQuadPoint( El, QuadPoint ) );
  }


Member Data Documentation

template<typename ConfiguratorType , GridGlobalIndexMode IndexMode = QUOC_GRID_INDEX_MODE>
const aol::DiscreteFunctionDefault<ConfiguratorType> aol::SquaredWeightStiffOp< ConfiguratorType, IndexMode >::_w [protected]

The documentation for this class was generated from the following file:

Generated on Fri Sep 9 2011 21:09:01 for QuocMesh by doxygen 1.7.1