Amandus: Simulations based on multilevel Schwarz methods
|
#include <integrators.h>
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 |
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.
ErrorIntegrator< dim >::ErrorIntegrator | ( | const dealii::Function< dim > & | exact_solution | ) |
ErrorIntegrator< dim >::ErrorIntegrator | ( | const dealii::Function< dim > & | exact_solution, |
const dealii::TensorFunction< 2, dim > & | weight | ||
) |
ErrorIntegrator< dim >::~ErrorIntegrator | ( | ) |
|
virtual |
|
private |
|
private |
|
private |
|
private |