#include <problemcontainer_internal.h>
|
| ProblemContainerInternal (PDE &pde) |
|
template<class EDC , class DWRC > |
void | ElementErrorContribution (const EDC &edc, const DWRC &dwrc, std::vector< double > &element_contrib, double scale) |
|
template<class FDC , class DWRC > |
void | FaceErrorContribution (const FDC &fdc, const DWRC &dwrc, std::vector< double > &error_contrib, double scale=1.) |
|
template<class FDC , class DWRC > |
void | BoundaryErrorContribution (const FDC &dc, const DWRC &dwrc, std::vector< double > &, double scale=1.) |
|
const PDE & | GetPDE () const |
|
std::string | GetType () const |
|
unsigned int | GetTypeNum () const |
|
template<class PDE>
class DOpE::ProblemContainerInternal< PDE >
This class houses some functions and variables common in pdeproblemcontainer.h and optproblemcontainer.h. Both classes are derived from this one. With this, we prevent code duplicity.
template<typename PDE >
template<class FDC , class DWRC >
void DOpE::ProblemContainerInternal< PDE >::BoundaryErrorContribution |
( |
const FDC & |
dc, |
|
|
const DWRC & |
dwrc, |
|
|
std::vector< double > & |
error, |
|
|
double |
scale = 1. |
|
) |
| |
Computes the contribution of the boundary to overall error in a previously specified functional.
It has the same functionality as ElementErrorContribution, so we refer to its documentation.
template<typename PDE >
template<class EDC , class DWRC >
void DOpE::ProblemContainerInternal< PDE >::ElementErrorContribution |
( |
const EDC & |
edc, |
|
|
const DWRC & |
dwrc, |
|
|
std::vector< double > & |
element_contrib, |
|
|
double |
scale |
|
) |
| |
Computes the contribution of the element to overall error in a previously specified functional. For example, this could be a residual with appropriate weights.
EDC Class of the elementdatacontainer in use, distinguishes between hp- and classical case. FDC Class of the facedatacontainer in use, distinguishes between hp- and classical case.
- Parameters
-
edc | A DataContainer holding all the needed information for the computation of the residuum on the element. |
dwrc | A DWRDataContainer containing all the information needed to evaluate the error on the element (form of the residual, the weights, etc.). |
element_contrib | Vector in which we write the contribution of the element to the overall error. 1st component: primal_part, 2nd component: dual_part |
scale | A scaling factor which is -1 or 1 depending on the subroutine to compute. |
template<typename PDE >
template<class FDC , class DWRC >
void DOpE::ProblemContainerInternal< PDE >::FaceErrorContribution |
( |
const FDC & |
fdc, |
|
|
const DWRC & |
dwrc, |
|
|
std::vector< double > & |
error_contrib, |
|
|
double |
scale = 1. |
|
) |
| |
Computes the contribution of the face to overall error in a previously specified functional. This is the place where for instance jump terms come into play.
It has the same functionality as ElementErrorContribution, so we refer to its documentation.
The documentation for this class was generated from the following file:
- /afs/math.uni-hamburg.de/users/oa/fmrv001/src/DOpE/ThingsForMaintainer/Releases/tmp/dopelib-2.0/DOpEsrc/container/problemcontainer_internal.h