|
| DGDiscreteModelDefaultWithInsideOutside () |
|
| DGDiscreteModelDefaultWithInsideOutside (const DGDiscreteModelDefaultWithInsideOutside &other) |
|
void | setEntity (const EntityType &en) |
| method setting pointer of inside entity and getting volume More...
|
|
void | setNeighbor (const EntityType &nb) |
| method seting pointer of outside entity and getting volume More...
|
|
const EntityType & | inside () const |
| method returning reference to inside entity More...
|
|
const EntityType & | outside () const |
| method returning reference to outside entity More...
|
|
double | enVolume () const |
| return volume of entity More...
|
|
double | nbVolume () const |
| return volume of neighbor More...
|
|
bool | hasFlux () const |
|
bool | hasSource () const |
|
bool | hasMass () const |
|
template<class ArgumentTuple , class FaceDomainType > |
double | numericalFlux (const IntersectionType &it, const double time, const FaceDomainType &x, const ArgumentTuple &uLeft, const ArgumentTuple &uRight, RangeType &gLeft, RangeType &gRight) |
| Empty implementation that fails if problem claims to have a flux contribution. More...
|
|
template<class ArgumentTuple , class FaceDomainType > |
double | boundaryFlux (const IntersectionType &intersection, const double time, const FaceDomainType &x, const ArgumentTuple &uLeft, RangeType &gLeft) |
| Empty implementation that fails if problem claims to have a flux contribution. More...
|
|
template<class ArgumentTuple > |
void | analyticalFlux (const EntityType &entity, const double time, const LocalCoordinateType &x, const ArgumentTuple &u, JacobianRangeType &f) |
| Empty implementation that fails if problem claims to have a flux contribution. More...
|
|
template<class ArgumentTuple , class JacobianTuple > |
double | source (const EntityType &en, const double time, const LocalCoordinateType &x, const ArgumentTuple &u, const JacobianTuple &jac, RangeType &s) |
| Empty implementation that fails if problem claims to have a source term. More...
|
|
template<class ArgumentTuple > |
void | mass (const EntityType &en, const double time, const LocalCoordinateType &x, const ArgumentTuple &u, MassFactorType &m) |
| empty implementation for mass factor default implementation sets this factor to 1.0 More...
|
|
void | setEntity (const EntityType &en) |
| empty implementation More...
|
|
void | setEntity (EntityType &en) |
| Passes the active entity to the model. This can be used, to set local functions required as data function in the model. More...
|
|
void | setNeighbor (const EntityType &nb) |
| empty implementation More...
|
|
void | setNeighbor (EntityType &nb) |
| Passes the active neigbor entity to the model. This can be used, to set local functions required as data functions in the model. More...
|
|
template<class Adaptation > |
void | setAdaptation (Adaptation &, const double weight=1.0) |
| default method for setting adaptation handle to discrete model More...
|
|
template<class Adaptation , class ThreadFilter > |
void | setAdaptation (Adaptation &, const ThreadFilter &, const double weight=1.0) |
| default method for setting adaptation handle and thead filter to discrete model More...
|
|
void | removeAdaptation () |
| remove pointer to adaptation handle More...
|
|
template<class DGDiscreteModelTraits, int N1 = -1, int N2 = -1, int N3 = -1, int N4 = -1, int N5 = -1, int N6 = -1, int N7 = -1, int N8 = -1, int N9 = -1>
class Dune::Fem::DGDiscreteModelDefaultWithInsideOutside< DGDiscreteModelTraits, N1, N2, N3, N4, N5, N6, N7, N8, N9 >
Default implementation of the DGDiscreteModelInterface where methods for the fluxes and the source term do nothing, so that the user needn't implement them if not needed.
template<class DGDiscreteModelTraits , int N1 = -1, int N2 = -1, int N3 = -1, int N4 = -1, int N5 = -1, int N6 = -1, int N7 = -1, int N8 = -1, int N9 = -1>
typedef Dune::Fem::Selector< N1 , N2 , N3 , N4 , N5 , N6 , N7 , N8 , N9 >::Type Dune::Fem::DGDiscreteModelDefault< DGDiscreteModelTraits, N1, N2, N3, N4, N5, N6, N7, N8, N9 >::Selector |
|
inherited |
Selector for data tuple to use as arguments for all methods; this fixes the template type ArgumentTuple. If this discrete model is used for a pass n+1, i.e., following passes p0,p1,..,pn then the return type of pass i (i=0,..,n) can be used by adding the integer number i in the Selector. Assume the following: $ u_{n+1} = p_{n+1}(u_n,u_{n-1},..,u_1,u_0) $ where $u_0=u$ is the global argument of the combined passes. If $ p_{n+1} $ only depends on $ u_0,u_2,u_n $ then the following selector can be used: Selector<0
,n-1,1>. Then ArgumentTuple is now filled with the values of these three functions and can be accessed by... Other way of filling the ArgumentTuple with corresponding pass results is when one uses passIds. In this case if $ u_{n+1} $ depends on the passes with following passIds: firstPassId , passId2 , passId5 then the desired Selector is Selector< firstPassId , passId2 , passId5 > ... If there's no SelectorType in user-implemented DGDiscreteModel then this Selector is used. Therefore it's good to pass passIds to this class and avoid writing SelectorType in user-implemented DGDiscreteModel. The point where a user specifies what's going to be in the Selector is in the template declaration of the DGDiscreteModel where one names passIds necessary for this DGDiscreteModel
template<class DGDiscreteModelTraits , int N1 = -1, int N2 = -1, int N3 = -1, int N4 = -1, int N5 = -1, int N6 = -1, int N7 = -1, int N8 = -1, int N9 = -1>
template<class ArgumentTuple >
void Dune::Fem::DGDiscreteModelDefault< DGDiscreteModelTraits, N1, N2, N3, N4, N5, N6, N7, N8, N9 >::analyticalFlux |
( |
const EntityType & |
entity, |
|
|
const double |
time, |
|
|
const LocalCoordinateType & |
x, |
|
|
const ArgumentTuple & |
u, |
|
|
JacobianRangeType & |
f |
|
) |
| |
|
inlineinherited |
template<class DGDiscreteModelTraits , int N1 = -1, int N2 = -1, int N3 = -1, int N4 = -1, int N5 = -1, int N6 = -1, int N7 = -1, int N8 = -1, int N9 = -1>
template<class ArgumentTuple , class FaceDomainType >
double Dune::Fem::DGDiscreteModelDefault< DGDiscreteModelTraits, N1, N2, N3, N4, N5, N6, N7, N8, N9 >::boundaryFlux |
( |
const IntersectionType & |
intersection, |
|
|
const double |
time, |
|
|
const FaceDomainType & |
x, |
|
|
const ArgumentTuple & |
uLeft, |
|
|
RangeType & |
gLeft |
|
) |
| |
|
inlineinherited |
template<class DGDiscreteModelTraits , int N1 = -1, int N2 = -1, int N3 = -1, int N4 = -1, int N5 = -1, int N6 = -1, int N7 = -1, int N8 = -1, int N9 = -1>
The default implementation always returns false
template<class DGDiscreteModelTraits , int N1 = -1, int N2 = -1, int N3 = -1, int N4 = -1, int N5 = -1, int N6 = -1, int N7 = -1, int N8 = -1, int N9 = -1>
The default implementation always returns false
template<class DGDiscreteModelTraits , int N1 = -1, int N2 = -1, int N3 = -1, int N4 = -1, int N5 = -1, int N6 = -1, int N7 = -1, int N8 = -1, int N9 = -1>
The default implementation always returns false
template<class DGDiscreteModelTraits , int N1 = -1, int N2 = -1, int N3 = -1, int N4 = -1, int N5 = -1, int N6 = -1, int N7 = -1, int N8 = -1, int N9 = -1>
template<class ArgumentTuple >
void Dune::Fem::DGDiscreteModelDefault< DGDiscreteModelTraits, N1, N2, N3, N4, N5, N6, N7, N8, N9 >::mass |
( |
const EntityType & |
en, |
|
|
const double |
time, |
|
|
const LocalCoordinateType & |
x, |
|
|
const ArgumentTuple & |
u, |
|
|
MassFactorType & |
m |
|
) |
| |
|
inlineinherited |
empty implementation for mass factor default implementation sets this factor to 1.0
template<class DGDiscreteModelTraits , int N1 = -1, int N2 = -1, int N3 = -1, int N4 = -1, int N5 = -1, int N6 = -1, int N7 = -1, int N8 = -1, int N9 = -1>
template<class ArgumentTuple , class FaceDomainType >
double Dune::Fem::DGDiscreteModelDefault< DGDiscreteModelTraits, N1, N2, N3, N4, N5, N6, N7, N8, N9 >::numericalFlux |
( |
const IntersectionType & |
it, |
|
|
const double |
time, |
|
|
const FaceDomainType & |
x, |
|
|
const ArgumentTuple & |
uLeft, |
|
|
const ArgumentTuple & |
uRight, |
|
|
RangeType & |
gLeft, |
|
|
RangeType & |
gRight |
|
) |
| |
|
inlineinherited |
template<class DGDiscreteModelTraits , int N1 = -1, int N2 = -1, int N3 = -1, int N4 = -1, int N5 = -1, int N6 = -1, int N7 = -1, int N8 = -1, int N9 = -1>
method setting pointer of inside entity and getting volume
- Parameters
-
[in] | en | reference to inside entity |
template<class DGDiscreteModelTraits , int N1 = -1, int N2 = -1, int N3 = -1, int N4 = -1, int N5 = -1, int N6 = -1, int N7 = -1, int N8 = -1, int N9 = -1>
method seting pointer of outside entity and getting volume
- Parameters
-
[in] | nb | reference to outside entity |
template<class DGDiscreteModelTraits , int N1 = -1, int N2 = -1, int N3 = -1, int N4 = -1, int N5 = -1, int N6 = -1, int N7 = -1, int N8 = -1, int N9 = -1>
template<class ArgumentTuple , class JacobianTuple >
double Dune::Fem::DGDiscreteModelDefault< DGDiscreteModelTraits, N1, N2, N3, N4, N5, N6, N7, N8, N9 >::source |
( |
const EntityType & |
en, |
|
|
const double |
time, |
|
|
const LocalCoordinateType & |
x, |
|
|
const ArgumentTuple & |
u, |
|
|
const JacobianTuple & |
jac, |
|
|
RangeType & |
s |
|
) |
| |
|
inlineinherited |