Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Protected Member Functions | Private Attributes
CellA_M_alpha_of_x Class Reference

Computes the cellwise coefficients for the diffusion operator from the given data: $ \tilde{A}^M_\alpha(x) = E_a(x) + \sum_{n=1}^M \sqrt{\lambda_n} \phi_n(x) \mu_{\alpha_n} $. More...

#include <cellwise.hh>

Inheritance diagram for CellA_M_alpha_of_x:
Inheritance graph
[legend]
Collaboration diagram for CellA_M_alpha_of_x:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CellA_M_alpha_of_x (concepts::DynArray< Real > &A_M_alpha_of_x, const __gnu_cxx::hash_map< uint, uint > &data_level_map, const __gnu_cxx::hash_map< uint, Real > &Ea_of_x, const concepts::Array< Real > &sqrt_lambda, const concepts::Array< concepts::DynArray< Real > > &phi, const concepts::Array< concepts::Array< Real > > &mu, const concepts::Array< uint > &alpha)
 Constructor.
virtual void operator() (const Element< Real > &elm)=0
 Application operator.
void operator() (const concepts::Quad2d &cell)
void operator() (const concepts::Triangle2d &cell)
virtual void operator() (const concepts::Cell &cell)
 Application operator.
virtual void operator() (const concepts::Element< Real > &elm)

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.

Private Attributes

concepts::DynArray< Real > & A_M_
const concepts::Array< uint > & alpha_
const __gnu_cxx::hash_map
< uint, uint > & 
data_level_map_
const __gnu_cxx::hash_map
< uint, Real > & 
Ea_
const uint M_
 Sum boundary.
const concepts::Array
< concepts::Array< Real > > & 
mu_
const concepts::Array
< concepts::DynArray< Real > > & 
phi_
const concepts::Array< Real > & sqrt_lambda_

Detailed Description

Computes the cellwise coefficients for the diffusion operator from the given data: $ \tilde{A}^M_\alpha(x) = E_a(x) + \sum_{n=1}^M \sqrt{\lambda_n} \phi_n(x) \mu_{\alpha_n} $.

In the case of hp2D::Quads, only $ \tilde{A}^M_\alpha(x) = \sum_{n=1}^M \sqrt{\lambda_n} \phi_n(x) \mu_{\alpha_n} $ is computed.

Author:
Philipp Frauenfelder, 2002

Definition at line 52 of file cellwise.hh.


Constructor & Destructor Documentation

CellA_M_alpha_of_x::CellA_M_alpha_of_x ( concepts::DynArray< Real > &  A_M_alpha_of_x,
const __gnu_cxx::hash_map< uint, uint > &  data_level_map,
const __gnu_cxx::hash_map< uint, Real > &  Ea_of_x,
const concepts::Array< Real > &  sqrt_lambda,
const concepts::Array< concepts::DynArray< Real > > &  phi,
const concepts::Array< concepts::Array< Real > > &  mu,
const concepts::Array< uint > &  alpha 
) [inline]

Constructor.

Parameters:
A_M_alpha_of_xResult, $ \tilde{A}^M_\alpha(x) $
data_level_mapMaps indices from data mesh to computational mesh, phi is given on the data mesh and the rest on the computational mesh
Ea_of_x$ E_a(x) $
sqrt_lambda$ \{ \sqrt{\lambda_n} \}_{n=1}^M $
phi$ \{ \phi_n(x) \}_{n=1}^M $
mu$ \mu_{\vec \alpha} $
alpha$ \vec \alpha $

Definition at line 64 of file cellwise.hh.

Here is the call graph for this function:


Member Function Documentation

virtual std::ostream& CellA_M_alpha_of_x::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::CellPostprocess< Real >.

virtual void concepts::CellPostprocess< Real >::operator() ( const Element< Real > &  elm) [pure virtual, inherited]

Application operator.

This application operator has to be overloaded to post process a space.

Parameters:
elmCurrent element

Implemented in concepts::CellFaceIntegral< F >, and concepts::CellEdgeIntegral< F >.

virtual void CellA_M_alpha_of_x::operator() ( const concepts::Cell cell) [virtual]

Application operator.

This application operator has to be overloaded to post process a mesh.

Parameters:
cellCurrent cell

Implements concepts::CellPostprocess< Real >.

void CellA_M_alpha_of_x::operator() ( const concepts::Quad2d cell)
void CellA_M_alpha_of_x::operator() ( const concepts::Triangle2d cell)
virtual void CellA_M_alpha_of_x::operator() ( const concepts::Element< Real > &  elm) [virtual]

Member Data Documentation

Definition at line 83 of file cellwise.hh.

Definition at line 89 of file cellwise.hh.

const __gnu_cxx::hash_map<uint, uint>& CellA_M_alpha_of_x::data_level_map_ [private]

Definition at line 84 of file cellwise.hh.

const __gnu_cxx::hash_map<uint, Real>& CellA_M_alpha_of_x::Ea_ [private]

Definition at line 85 of file cellwise.hh.

const uint CellA_M_alpha_of_x::M_ [private]

Sum boundary.

Definition at line 91 of file cellwise.hh.

Definition at line 88 of file cellwise.hh.

Definition at line 87 of file cellwise.hh.

Definition at line 86 of file cellwise.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)