A C++ wrapper for a Python problem. More...
#include <dumux/python/common/fvproblem.hh>
A C++ wrapper for a Python problem.
Public Types | |
using | GridGeometry = GridGeometry_ |
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 | |
FVProblem (std::shared_ptr< const GridGeometry > gridGeometry, pybind11::object pyProblem) | |
std::string | name () 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 |
template<class ElementVolumeVariables , class ElementFluxVariablesCache > | |
NumEqVector | neumann (const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const ElementFluxVariablesCache &elemFluxVarsCache, const SubControlVolumeFace &scvf) const |
template<class ElementVolumeVariables > | |
NumEqVector | source (const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolume &scv) const |
NumEqVector | sourceAtPos (const GlobalPosition &globalPos) const |
template<class Entity > | |
PrimaryVariables | initial (const Entity &entity) const |
template<class ElementSolution > | |
Scalar | extrusionFactor (const Element &element, const SubControlVolume &scv, const ElementSolution &elemSol) const |
const GridGeometry & | gridGeometry () const |
Static Public Attributes | |
static constexpr bool | isBox = GridGeometry::discMethod == DiscretizationMethod::box |
static constexpr std::size_t | numEq = static_cast<std::size_t>(PrimaryVariables::dimension) |
using Dumux::Python::FVProblem< GridGeometry_, PrimaryVariables >::BoundaryTypes = Dumux::BoundaryTypes<PrimaryVariables::dimension> |
using Dumux::Python::FVProblem< GridGeometry_, PrimaryVariables >::Element = typename GridGeometry::GridView::template Codim<0>::Entity |
using Dumux::Python::FVProblem< GridGeometry_, PrimaryVariables >::FVElementGeometry = typename GridGeometry::LocalView |
using Dumux::Python::FVProblem< GridGeometry_, PrimaryVariables >::GlobalPosition = typename Element::Geometry::GlobalCoordinate |
using Dumux::Python::FVProblem< GridGeometry_, PrimaryVariables >::GridGeometry = GridGeometry_ |
using Dumux::Python::FVProblem< GridGeometry_, PrimaryVariables >::NumEqVector = Dune::FieldVector<Scalar, PrimaryVariables::dimension> |
using Dumux::Python::FVProblem< GridGeometry_, PrimaryVariables >::Scalar = typename PrimaryVariables::value_type |
using Dumux::Python::FVProblem< GridGeometry_, PrimaryVariables >::SubControlVolume = typename GridGeometry::SubControlVolume |
using Dumux::Python::FVProblem< GridGeometry_, PrimaryVariables >::SubControlVolumeFace = typename GridGeometry::SubControlVolumeFace |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
staticconstexpr |
|
staticconstexpr |