Amandus: Simulations based on multilevel Schwarz methods
Public Member Functions | Public Attributes | List of all members
Brinkman::Parameters Class Reference

#include <parameters.h>

Inheritance diagram for Brinkman::Parameters:
Inheritance graph
[legend]
Collaboration diagram for Brinkman::Parameters:
Collaboration graph
[legend]

Public Member Functions

 Parameters ()
 
 Parameters (double resistance)
 

Public Attributes

std::vector< double > viscosity
 The vector of Stokes/Brinkman viscosities \(\mu\). More...
 
std::vector< double > resistance
 The vector of Darcy/Brinkman resistances \(\rho\). More...
 
std::vector< double > graddiv_stabilization
 The vector of coefficients \(\sigma\) for grad-div stabilization. More...
 
double saffman
 

Detailed Description

The parameters common to matrix and residual computations. The vectors viscosity, resistance, and graddiv_stabilization are indexed by the cell material id and represent the coefficients in the system.

The coefficients refer to the equations described in the namespace Brinkman.

Constructor & Destructor Documentation

Brinkman::Parameters::Parameters ( )
inline

Default constructor, only setting the Saffman friction parameter.

Brinkman::Parameters::Parameters ( double  resistance)
inline

Constructor, initializing default values for viscosity and resistance. These refer to a situation with two subdomains, one Darcy and one Stokes. They are zero resistance and viscosity one in material 0 (Stokes). In material 1 (Darcy), the viscosity is 0 and the resistance is the function argument.

Member Data Documentation

std::vector<double> Brinkman::Parameters::graddiv_stabilization

The vector of coefficients \(\sigma\) for grad-div stabilization.

std::vector<double> Brinkman::Parameters::resistance

The vector of Darcy/Brinkman resistances \(\rho\).

double Brinkman::Parameters::saffman

The additional coefficient \(\gamma\) of the friction term.

std::vector<double> Brinkman::Parameters::viscosity

The vector of Stokes/Brinkman viscosities \(\mu\).


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