A point source data class used for integration in multidimensional models.
More...
#include <dumux/multidomain/embedded/pointsourcedata.hh>
template<class MDTraits>
class Dumux::PointSourceDataCircleAverage< MDTraits >
- Note
- The point source and related data are connected via an identifier (id) When explicitly computing the circle average, i.e. the pressure for the source term is computed as an integral over the circle describing the surface of the one-dimensional tube. This exact determination of the bulk pressure is necessary for convergence studies.
|
| struct | CircleInterpolation |
| | The circle average of the bulk solution: a weight per bulk degree of freedom (the weights add up to one) and the bulk elements on the circle. More...
|
|
| PrimaryVariables< bulkIdx > | interpolateBulk (const SolutionVector< bulkIdx > &sol) const |
| void | addCircleInterpolation (std::shared_ptr< const CircleInterpolation > circle) |
| | Use the circle average for the bulk values, shared with the other point sources on the circle.
|
| void | addCircleInterpolation (const std::vector< const std::vector< GridIndex< bulkIdx > > * > &circleDofIndices, const std::vector< ShapeValues > &circleShapeValues, const std::vector< Scalar > &circleIpWeight, const std::vector< GridIndex< bulkIdx > > &circleStencil) |
| void | addCircleInterpolation (const std::vector< Scalar > &circleIpWeight, const std::vector< GridIndex< bulkIdx > > &circleStencil) |
| const std::vector< GridIndex< bulkIdx > > & | circleStencil () const |
| | The bulk elements on the circle, each once.
|
| void | addBulkInterpolation (const ShapeValues &shapeValues, const std::vector< GridIndex< bulkIdx > > &dofIndices, GridIndex< bulkIdx > eIdx) |
| | Add the interpolation data in the bulk domain.
|
| void | addBulkInterpolation (GridIndex< bulkIdx > eIdx) |
| void | addLowDimInterpolation (const ShapeValues &shapeValues, const std::vector< GridIndex< lowDimIdx > > &dofIndices, GridIndex< lowDimIdx > eIdx) |
| | Add the interpolation data in the lower-dimensional domain.
|
| void | addLowDimInterpolation (GridIndex< lowDimIdx > eIdx) |
| PrimaryVariables< lowDimIdx > | interpolateLowDim (const SolutionVector< lowDimIdx > &sol) const |
| GridIndex< lowDimIdx > | lowDimElementIdx () const |
| GridIndex< bulkIdx > | bulkElementIdx () const |
|
| static std::shared_ptr< const CircleInterpolation > | makeCircleInterpolation (const std::vector< const std::vector< GridIndex< bulkIdx > > * > &circleDofIndices, const std::vector< ShapeValues > &circleShapeValues, const std::vector< Scalar > &circleIpWeight, const std::vector< GridIndex< bulkIdx > > &circleStencil) |
| | The circle average from the interpolation data of the circle points (control-volume finite element methods).
|
| static std::shared_ptr< const CircleInterpolation > | makeCircleInterpolation (const std::vector< Scalar > &circleIpWeight, const std::vector< GridIndex< bulkIdx > > &circleStencil) |
| | The circle average from the interpolation data of the circle points (cell-centered methods).
|
◆ addBulkInterpolation() [1/2]
template<class MDTraits>
| void Dumux::PointSourceData< MDTraits >::addBulkInterpolation |
( |
const ShapeValues & | shapeValues, |
|
|
const std::vector< GridIndex< bulkIdx > > & | dofIndices, |
|
|
GridIndex< bulkIdx > | eIdx ) |
|
inlineinherited |
- Parameters
-
| shapeValues | the values of the basis functions of the local dofs at the point source |
| dofIndices | the global indices of the local dofs, in the order of the basis functions |
| eIdx | the index of the element containing the point source |
◆ addBulkInterpolation() [2/2]
◆ addCircleInterpolation() [1/3]
template<class MDTraits>
| void Dumux::PointSourceDataCircleAverage< MDTraits >::addCircleInterpolation |
( |
const std::vector< const std::vector< GridIndex< bulkIdx > > * > & | circleDofIndices, |
|
|
const std::vector< ShapeValues > & | circleShapeValues, |
|
|
const std::vector< Scalar > & | circleIpWeight, |
|
|
const std::vector< GridIndex< bulkIdx > > & | circleStencil ) |
|
inline |
◆ addCircleInterpolation() [2/3]
template<class MDTraits>
| void Dumux::PointSourceDataCircleAverage< MDTraits >::addCircleInterpolation |
( |
const std::vector< Scalar > & | circleIpWeight, |
|
|
const std::vector< GridIndex< bulkIdx > > & | circleStencil ) |
|
inline |
◆ addCircleInterpolation() [3/3]
◆ addLowDimInterpolation() [1/2]
template<class MDTraits>
| void Dumux::PointSourceData< MDTraits >::addLowDimInterpolation |
( |
const ShapeValues & | shapeValues, |
|
|
const std::vector< GridIndex< lowDimIdx > > & | dofIndices, |
|
|
GridIndex< lowDimIdx > | eIdx ) |
|
inlineinherited |
- Parameters
-
| shapeValues | the values of the basis functions of the local dofs at the point source |
| dofIndices | the global indices of the local dofs, in the order of the basis functions |
| eIdx | the index of the element containing the point source |
◆ addLowDimInterpolation() [2/2]
◆ bulkElementIdx()
◆ circleStencil()
◆ interpolateBulk()
◆ interpolateLowDim()
template<class MDTraits>
| PrimaryVariables< lowDimIdx > Dumux::PointSourceData< MDTraits >::interpolateLowDim |
( |
const SolutionVector< lowDimIdx > & | sol | ) |
const |
|
inlineinherited |
◆ lowDimElementIdx()
◆ makeCircleInterpolation() [1/2]
template<class MDTraits>
| std::shared_ptr< const CircleInterpolation > Dumux::PointSourceDataCircleAverage< MDTraits >::makeCircleInterpolation |
( |
const std::vector< const std::vector< GridIndex< bulkIdx > > * > & | circleDofIndices, |
|
|
const std::vector< ShapeValues > & | circleShapeValues, |
|
|
const std::vector< Scalar > & | circleIpWeight, |
|
|
const std::vector< GridIndex< bulkIdx > > & | circleStencil ) |
|
inlinestatic |
- Parameters
-
| circleDofIndices | the bulk dofs of the element of each circle point |
| circleShapeValues | the values of the basis functions at each circle point |
| circleIpWeight | the weight of each circle point |
| circleStencil | the bulk element of each circle point |
◆ makeCircleInterpolation() [2/2]
- Parameters
-
| circleIpWeight | the weight of each circle point |
| circleStencil | the bulk element of each circle point |
The documentation for this class was generated from the following file: