Amandus: Simulations based on multilevel Schwarz methods
|
#include <residual.h>
Public Member Functions | |
Residual (double diffusion, const Function< dim > &advection) | |
virtual void | cell (DoFInfo< dim > &dinfo, 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 Attributes | |
const double | diffusion |
const Function< dim > *const | advection |
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 |
Local integrator for the residual of a stationary Cahn-Hilliard problem.
\[ \vvect{v}{w} \mapsto \begin{pmatrix} (\sigma, v) - (W'(u), v) - \epsilon^2(\nabla u, \nabla v) \\ (\nabla \sigma, \nabla w) \end{pmatrix} \]
CahnHilliard::Residual< dim >::Residual | ( | double | diffusion, |
const Function< dim > & | advection | ||
) |
|
virtual |
|
private |
|
private |