opm-simulators
Loading...
Searching...
No Matches
Opm::StandardPreconditioners< Operator, Dune::Amg::SequentialInformation, typename std::enable_if_t<!Opm::is_gpu_operator_v< Operator > > > Struct Template Reference

Static Public Member Functions

static void add ()
static PreconditionerFactory< Operator, Dune::Amg::SequentialInformation >::PrecPtr createParILU (const Operator &op, const PropertyTree &prm, const Dune::Amg::SequentialInformation &comm, const int ilulevel)
static std::size_t interiorIfGhostLast (const Dune::Amg::SequentialInformation &comm)
 Helper method to determine if the local partitioning has the K interior cells from [0, K-1] and ghost cells from [K, N-1].

Member Function Documentation

◆ interiorIfGhostLast()

std::size_t Opm::StandardPreconditioners< Operator, Dune::Amg::SequentialInformation, typename >::interiorIfGhostLast ( const Dune::Amg::SequentialInformation & comm)
inlinestatic

Helper method to determine if the local partitioning has the K interior cells from [0, K-1] and ghost cells from [K, N-1].

Returns K if true, otherwise returns N. This is motivated by usage in the ParallelOverlappingILU0 preconditioner.


The documentation for this struct was generated from the following file: