Skip to content
Snippets Groups Projects
Commit ffef57b3 authored by Timo Koch's avatar Timo Koch
Browse files

[assembler] Use CFVE localassembler

parent c72379e1
No related branches found
No related tags found
1 merge request!3462[assembly][cvfe] Unify CVFE assembly
...@@ -47,22 +47,20 @@ ...@@ -47,22 +47,20 @@
#include <dumux/parallel/multithreading.hh> #include <dumux/parallel/multithreading.hh>
#include <dumux/parallel/parallel_for.hh> #include <dumux/parallel/parallel_for.hh>
#include "boxlocalassembler.hh" #include "cvfelocalassembler.hh"
#include "cclocalassembler.hh" #include "cclocalassembler.hh"
#include "fclocalassembler.hh" #include "fclocalassembler.hh"
#include "fcdiamondlocalassembler.hh"
#include "pq1bubblelocalassembler.hh"
namespace Dumux::Detail { namespace Dumux::Detail {
template<class DiscretizationMethod> template<class DiscretizationMethod>
struct LocalAssemblerChooser; struct LocalAssemblerChooser;
template<> template<class DM>
struct LocalAssemblerChooser<DiscretizationMethods::Box> struct LocalAssemblerChooser<DiscretizationMethods::CVFE<DM>>
{ {
template<class TypeTag, class Impl, DiffMethod diffMethod, bool isImplicit> template<class TypeTag, class Impl, DiffMethod diffMethod, bool isImplicit>
using type = BoxLocalAssembler<TypeTag, Impl, diffMethod, isImplicit>; using type = CVFELocalAssembler<TypeTag, Impl, diffMethod, isImplicit>;
}; };
template<> template<>
...@@ -86,20 +84,6 @@ struct LocalAssemblerChooser<DiscretizationMethods::FCStaggered> ...@@ -86,20 +84,6 @@ struct LocalAssemblerChooser<DiscretizationMethods::FCStaggered>
using type = FaceCenteredLocalAssembler<TypeTag, Impl, diffMethod, isImplicit>; using type = FaceCenteredLocalAssembler<TypeTag, Impl, diffMethod, isImplicit>;
}; };
template<>
struct LocalAssemblerChooser<DiscretizationMethods::FCDiamond>
{
template<class TypeTag, class Impl, DiffMethod diffMethod, bool isImplicit>
using type = FaceCenteredDiamondLocalAssembler<TypeTag, Impl, diffMethod, isImplicit>;
};
template<>
struct LocalAssemblerChooser<DiscretizationMethods::PQ1Bubble>
{
template<class TypeTag, class Impl, DiffMethod diffMethod, bool isImplicit>
using type = PQ1BubbleLocalAssembler<TypeTag, Impl, diffMethod, isImplicit>;
};
template<class TypeTag, class Impl, DiffMethod diffMethod, bool isImplicit> template<class TypeTag, class Impl, DiffMethod diffMethod, bool isImplicit>
using LocalAssemblerChooser_t = typename LocalAssemblerChooser< using LocalAssemblerChooser_t = typename LocalAssemblerChooser<
typename GetPropType<TypeTag, Properties::GridGeometry>::DiscretizationMethod typename GetPropType<TypeTag, Properties::GridGeometry>::DiscretizationMethod
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment