A C++ wrapper for a Python PorousMediumFlow problem. More...
#include <dumux/python/porousmediumflow/problem.hh>
A C++ wrapper for a Python PorousMediumFlow problem.
Public Types | |
using | GridGeometry = GridGeometry_ |
using | SpatialParams = SpatialParams_ |
using | Scalar = typename PrimaryVariables::value_type |
using | NumEqVector = Dune::FieldVector< Scalar, PrimaryVariables::dimension > |
using | Element = typename GridGeometry::GridView::template Codim< 0 >::Entity |
using | FVElementGeometry = typename GridGeometry::LocalView |
using | SubControlVolume = typename GridGeometry::SubControlVolume |
using | SubControlVolumeFace = typename GridGeometry::SubControlVolumeFace |
using | GlobalPosition = typename Element::Geometry::GlobalCoordinate |
using | BoundaryTypes = Dumux::BoundaryTypes< PrimaryVariables::dimension > |
Public Member Functions | |
PorousMediumFlowProblem (std::shared_ptr< const GridGeometry > gridGeometry, std::shared_ptr< const SpatialParams > spatialParams, pybind11::object pyProblem) | |
const SpatialParams & | spatialParams () const |
const std::string & | name () const |
const std::string & | paramGroup () const |
BoundaryTypes | boundaryTypes (const Element &element, const SubControlVolume &scv) const |
BoundaryTypes | boundaryTypes (const Element &element, const SubControlVolumeFace &scvf) const |
PrimaryVariables | dirichlet (const Element &element, const SubControlVolume &scv) const |
PrimaryVariables | dirichlet (const Element &element, const SubControlVolumeFace &scvf) const |
NumEqVector | neumann (const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const ElementFluxVariablesCache &elemFluxVarsCache, const SubControlVolumeFace &scvf) const |
NumEqVector | source (const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolume &scv) const |
NumEqVector | sourceAtPos (const GlobalPosition &globalPos) const |
NumEqVector | scvPointSources (const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolume &scv) const |
PrimaryVariables | initial (const Entity &entity) const |
void | addSourceDerivatives (MatrixBlock &block, const Element &element, const FVElementGeometry &fvGeometry, const VolumeVariables &volVars, const SubControlVolume &scv) const |
Add source term derivative to the Jacobian. More... | |
Scalar | extrusionFactorAtPos (const GlobalPosition &globalPos, double defaultValue=1.0) const |
Scalar | extrusionFactor (const Element &element, const SubControlVolume &scv, const ElementSolution &elemSol, double defaultValue=1.0) const |
Scalar | temperatureAtPos (const GlobalPosition &globalPos, int defaultValue=1) const |
Scalar | temperature (int defaultValue=1) const |
const GridGeometry & | gridGeometry () const |
Static Public Member Functions | |
static constexpr bool | enableInternalDirichletConstraints () |
Static Public Attributes | |
static constexpr bool | isBox = GridGeometry::discMethod == DiscretizationMethods::box |
static constexpr std::size_t | numEq = static_cast<std::size_t>(PrimaryVariables::dimension) |
using Dumux::Python::PorousMediumFlowProblem< GridGeometry_, SpatialParams_, PrimaryVariables, enableInternalDirichletConstraints >::BoundaryTypes = Dumux::BoundaryTypes<PrimaryVariables::dimension> |
using Dumux::Python::PorousMediumFlowProblem< GridGeometry_, SpatialParams_, PrimaryVariables, enableInternalDirichletConstraints >::Element = typename GridGeometry::GridView::template Codim<0>::Entity |
using Dumux::Python::PorousMediumFlowProblem< GridGeometry_, SpatialParams_, PrimaryVariables, enableInternalDirichletConstraints >::FVElementGeometry = typename GridGeometry::LocalView |
using Dumux::Python::PorousMediumFlowProblem< GridGeometry_, SpatialParams_, PrimaryVariables, enableInternalDirichletConstraints >::GlobalPosition = typename Element::Geometry::GlobalCoordinate |
using Dumux::Python::PorousMediumFlowProblem< GridGeometry_, SpatialParams_, PrimaryVariables, enableInternalDirichletConstraints >::GridGeometry = GridGeometry_ |
using Dumux::Python::PorousMediumFlowProblem< GridGeometry_, SpatialParams_, PrimaryVariables, enableInternalDirichletConstraints >::NumEqVector = Dune::FieldVector<Scalar, PrimaryVariables::dimension> |
using Dumux::Python::PorousMediumFlowProblem< GridGeometry_, SpatialParams_, PrimaryVariables, enableInternalDirichletConstraints >::Scalar = typename PrimaryVariables::value_type |
using Dumux::Python::PorousMediumFlowProblem< GridGeometry_, SpatialParams_, PrimaryVariables, enableInternalDirichletConstraints >::SpatialParams = SpatialParams_ |
using Dumux::Python::PorousMediumFlowProblem< GridGeometry_, SpatialParams_, PrimaryVariables, enableInternalDirichletConstraints >::SubControlVolume = typename GridGeometry::SubControlVolume |
using Dumux::Python::PorousMediumFlowProblem< GridGeometry_, SpatialParams_, PrimaryVariables, enableInternalDirichletConstraints >::SubControlVolumeFace = typename GridGeometry::SubControlVolumeFace |
|
inline |
|
inlineinherited |
Add source term derivative to the Jacobian.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlinestaticconstexprinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
staticconstexpr |
|
staticconstexpr |