version 3.11-dev
Loading...
Searching...
No Matches
pointsources.hh File Reference

Point source types and helpers for handling point sources.

#include <map>
#include <ranges>
#include <span>
#include <utility>
#include <vector>
#include <dune/common/exceptions.hh>
#include <dune/common/reservedvector.hh>
#include <dumux/common/numeqvector.hh>
#include <dumux/discretization/localview.hh>
#include <dumux/common/typetraits/localdofs_.hh>
#include <dumux/geometry/intersectspointgeometry.hh>
#include <dumux/geometry/intersectingentities.hh>
#include <dumux/discretization/method.hh>

Go to the source code of this file.

Classes

struct  Dumux::Experimental::EmptyPointSources
 Empty point sources. More...
struct  Dumux::Experimental::EmptyPointSources::Context
 Dummy context type satisfying the assembly interface. More...
class  Dumux::Experimental::PointSourceContext< PositionType >
 Identifies a point source by its position in space. The embeddings value is set during map construction to account for sources shared between several geometrical entities (scvs). More...
class  Dumux::Experimental::IdPointSourceContext< Context, IdType >
 Point source context enriched with a unique identifier. More...
class  Dumux::Experimental::ScvPointSourceContext< Context >
 Point source context enriched with the sub-control volume index. More...
class  Dumux::Experimental::PointSources< Context, Function >
 Combines a point source map with a user-provided evaluation function. More...

Namespaces

namespace  Dumux
namespace  Dumux::Experimental

Functions

template<class GridDiscretization, class Context>
auto Dumux::Experimental::makePointSourceMap (const GridDiscretization &gridDiscretization, std::initializer_list< Context > contexts)
 Build a point source map from a list of point source contexts.
template<class GridDiscretization, class Context>
auto Dumux::Experimental::makePointSourceMap (const GridDiscretization &gridDiscretization, const std::vector< Context > &contexts)
template<class GridDiscretization, class Context, class Function>
auto Dumux::Experimental::makePointSources (const GridDiscretization &gridDiscretization, std::initializer_list< Context > contexts, Function f)
 Build a PointSources object from a list of contexts and an evaluation function.
template<class GridDiscretization, class Context, class Function>
auto Dumux::Experimental::makePointSources (const GridDiscretization &gridDiscretization, const std::vector< Context > &contexts, Function f)