3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Classes | Namespaces | Typedefs | Functions
multidomain/facet/1p_1p/analytical/main.cc File Reference

Test for the one-phase facet coupling model. More...

#include <config.h>
#include <iostream>
#include <dune/common/parallel/mpihelper.hh>
#include <dune/geometry/quadraturerules.hh>
#include "problem_bulk.hh"
#include "problem_lowdim.hh"
#include <dumux/common/properties.hh>
#include <dumux/common/parameters.hh>
#include <dumux/common/dumuxmessage.hh>
#include <dumux/assembly/diffmethod.hh>
#include <dumux/discretization/method.hh>
#include <dumux/discretization/elementsolution.hh>
#include <dumux/discretization/evalsolution.hh>
#include <dumux/linear/seqsolverbackend.hh>
#include <dumux/multidomain/newtonsolver.hh>
#include <dumux/multidomain/fvassembler.hh>
#include <dumux/multidomain/traits.hh>
#include <dumux/multidomain/facet/gridmanager.hh>
#include <dumux/multidomain/facet/couplingmapper.hh>
#include <dumux/multidomain/facet/couplingmanager.hh>
#include <dumux/multidomain/facet/codimonegridadapter.hh>
#include <dumux/io/vtkoutputmodule.hh>

Description

Test for the one-phase facet coupling model.

Classes

class  TestTraits< BulkTypeTag, LowDimTypeTag >
 
struct  Dumux::Properties::CouplingManager< TypeTag, TTag::OnePBulkBox >
 
struct  Dumux::Properties::CouplingManager< TypeTag, TTag::OnePLowDimBox >
 
struct  Dumux::Properties::CouplingManager< TypeTag, TTag::OnePBulkTpfa >
 
struct  Dumux::Properties::CouplingManager< TypeTag, TTag::OnePLowDimTpfa >
 
struct  L2NormData< Scalar >
 Container to store the L2 errors. More...
 

Namespaces

namespace  Dumux
 make the local view function available whenever we use the grid geometry
 
namespace  Dumux::Properties
 

Typedefs

using Dumux::Properties::BoxTraits = TestTraits< Properties::TTag::OnePBulkBox, Properties::TTag::OnePLowDimBox >
 
using Dumux::Properties::TpfaTraits = TestTraits< Properties::TTag::OnePBulkTpfa, Properties::TTag::OnePLowDimTpfa >
 

Functions

template<class GridView , class Problem , class SolutionVector >
L2NormData< typename SolutionVector::field_type > computeL2Norm (const GridView &gridView, const Problem &problem, const SolutionVector &x)
 Computes the L2 norm of the error of a sub-problem. More...
 
template<class GridGeometry , class GridManager , class LowDimGridView , std::enable_if_t< GridGeometry::discMethod==Dumux::DiscretizationMethod::box, int > = 0>
void updateBulkFVGridGeometry (GridGeometry &gridGeometry, const GridManager &gridManager, const LowDimGridView &lowDimGridView)
 Updates the finite volume grid geometry for the box scheme. More...
 
int main (int argc, char **argv)
 

Function Documentation

◆ computeL2Norm()

template<class GridView , class Problem , class SolutionVector >
L2NormData< typename SolutionVector::field_type > computeL2Norm ( const GridView &  gridView,
const Problem &  problem,
const SolutionVector &  x 
)

Computes the L2 norm of the error of a sub-problem.

◆ main()

int main ( int  argc,
char **  argv 
)

◆ updateBulkFVGridGeometry()

template<class GridGeometry , class GridManager , class LowDimGridView , std::enable_if_t< GridGeometry::discMethod==Dumux::DiscretizationMethod::box, int > = 0>
void updateBulkFVGridGeometry ( GridGeometry &  gridGeometry,
const GridManager &  gridManager,
const LowDimGridView &  lowDimGridView 
)

Updates the finite volume grid geometry for the box scheme.

Updates the finite volume grid geometry for the cell centered schemes.

Updates the finite volume grid geometry for the cell-centered schemes.

This is necessary as the finite volume grid geometry for the box scheme with facet coupling requires additional data for the update. The reason is that we have to create additional faces on interior boundaries, which wouldn't be created in the standard scheme.

Include dependency graph for multidomain/facet/1p_1p/analytical/main.cc: