26#ifndef DUMUX_1P_SINGULARITY_TIME_DEP_PROBLEM_HH
27#define DUMUX_1P_SINGULARITY_TIME_DEP_PROBLEM_HH
29#include "../timeindependent/problem.hh"
32template <
class TypeTag>
33class OnePSingularityProblemTimeDependent;
42template<
class TypeTag>
46template<
class TypeTag>
64template <
class TypeTag>
74 using Element =
typename GridView::template Codim<0>::Entity;
77 using SubControlVolume =
typename FVElementGeometry::SubControlVolume;
105 auto function = [](
const Problem& problem,
106 const Element& element,
107 const FVElementGeometry& fvGeometry,
108 const ElementVolumeVariables& elemVolVars,
109 const SubControlVolume& scv)
110 {
return PrimaryVariables(problem.getTime()); };
112 pointSources.push_back(PointSource({0.0, 0.0}, function));
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(....
Definition: propertysystem.hh:149
Base class for all finite-volume problems.
Definition: common/fvproblem.hh:50
const GridGeometry & gridGeometry() const
The finite volume grid geometry.
Definition: common/fvproblem.hh:588
A point source class for time dependent point sources.
Definition: pointsource.hh:213
Property to specify the type of a problem which has to be solved.
Definition: common/properties.hh:69
Property defining the type of point source used.
Definition: common/properties.hh:71
Test problem for the one-phase model: Water is injected in a single point in the middle of the domain...
Definition: test/porousmediumflow/1p/implicit/pointsources/timedependent/problem.hh:66
void setTime(Scalar time)
Set the current time at which we evaluate the source.
Definition: test/porousmediumflow/1p/implicit/pointsources/timedependent/problem.hh:116
void addPointSources(std::vector< PointSource > &pointSources) const
Applies a vector of point sources which are possibly solution dependent.
Definition: test/porousmediumflow/1p/implicit/pointsources/timedependent/problem.hh:102
Scalar getTime() const
Set the current time at which we evaluate the source.
Definition: test/porousmediumflow/1p/implicit/pointsources/timedependent/problem.hh:120
OnePSingularityProblemTimeDependent(std::shared_ptr< const GridGeometry > gridGeometry)
Definition: test/porousmediumflow/1p/implicit/pointsources/timedependent/problem.hh:81
Definition: test/porousmediumflow/1p/implicit/pointsources/timedependent/problem.hh:38
std::tuple< OnePSingularityCCTpfa > InheritsFrom
Definition: test/porousmediumflow/1p/implicit/pointsources/timedependent/problem.hh:38
Test problem for the one-phase model: Water is injected in a single point in the middle of the domain...
Definition: test/porousmediumflow/1p/implicit/pointsources/timeindependent/problem.hh:99