Amandus: Simulations based on multilevel Schwarz methods
Public Member Functions | Private Member Functions | Private Attributes | List of all members
DarcyIntegrators::ErrorIntegrator< dim > Class Template Reference

#include <integrators.h>

Inheritance diagram for DarcyIntegrators::ErrorIntegrator< dim >:
Inheritance graph
[legend]
Collaboration diagram for DarcyIntegrators::ErrorIntegrator< dim >:
Collaboration graph
[legend]

Public Member Functions

 ErrorIntegrator (const dealii::Function< dim > &exact_solution)
 
 ErrorIntegrator (const dealii::Function< dim > &exact_solution, const dealii::TensorFunction< 2, dim > &weight)
 
 ~ErrorIntegrator ()
 
virtual void cell (dealii::MeshWorker::DoFInfo< dim > &dinfo, dealii::MeshWorker::IntegrationInfo< dim > &info) const
 
- Public Member Functions inherited from AmandusIntegrator< dim >
 AmandusIntegrator ()
 
virtual void extract_data (const dealii::AnyData &data)
 Extract data independent of the cell. More...
 
unsigned int n_errors () const
 
unsigned int error_type (unsigned int i) const
 
std::string error_name (unsigned int i) const
 
dealii::UpdateFlags update_flags () const
 Returns the update flags to be used. More...
 
dealii::UpdateFlags update_flags_face () const
 Returns the update flags to be used on boundary and interior faces. More...
 
void add_flags (const dealii::UpdateFlags flags)
 Add update flags on all objects. More...
 
void add_flags_face (const dealii::UpdateFlags flags)
 Add update flags on boundary and internal faces. More...
 

Private Member Functions

void init ()
 

Private Attributes

const dealii::SmartPointer< const dealii::Function< dim > > exact_solution
 
const dealii::TensorFunction< 2, dim > *const owned_weight
 
dealii::SmartPointer< const dealii::TensorFunction< 2, dim > > weight
 

Additional Inherited Members

- Public Attributes inherited from AmandusIntegrator< dim >
double timestep
 Current timestep if applicable. More...
 
dealii::SmartPointer< dealii::Quadrature< dim > > cell_quadrature
 Quadrature rule used on cells. More...
 
dealii::SmartPointer< dealii::Quadrature< dim-1 > > boundary_quadrature
 Quadrature rule used on boundary faces. More...
 
dealii::SmartPointer< dealii::Quadrature< dim-1 > > face_quadrature
 Quadrature rule used on faces. More...
 
- Protected Attributes inherited from AmandusIntegrator< dim >
std::vector< unsigned int > error_types
 
std::vector< std::string > error_names
 

Detailed Description

template<int dim>
class DarcyIntegrators::ErrorIntegrator< dim >

Error integrator computing the \(L^2\) error w.r.t. the exact solution given as the constructor's argument. Uses a weighted norm for the velocity component if a weight is passed to the constructor.

Constructor & Destructor Documentation

template<int dim>
ErrorIntegrator< dim >::ErrorIntegrator ( const dealii::Function< dim > &  exact_solution)

Here is the call graph for this function:

template<int dim>
ErrorIntegrator< dim >::ErrorIntegrator ( const dealii::Function< dim > &  exact_solution,
const dealii::TensorFunction< 2, dim > &  weight 
)

Here is the call graph for this function:

template<int dim>
ErrorIntegrator< dim >::~ErrorIntegrator ( )

Member Function Documentation

template<int dim>
void ErrorIntegrator< dim >::cell ( dealii::MeshWorker::DoFInfo< dim > &  dinfo,
dealii::MeshWorker::IntegrationInfo< dim > &  info 
) const
virtual
template<int dim>
void ErrorIntegrator< dim >::init ( )
private

Here is the call graph for this function:

Member Data Documentation

template<int dim>
const dealii::SmartPointer<const dealii::Function<dim> > DarcyIntegrators::ErrorIntegrator< dim >::exact_solution
private
template<int dim>
const dealii::TensorFunction<2, dim>* const DarcyIntegrators::ErrorIntegrator< dim >::owned_weight
private
template<int dim>
dealii::SmartPointer<const dealii::TensorFunction<2, dim> > DarcyIntegrators::ErrorIntegrator< dim >::weight
private

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