Commit 8b2534e3 authored by Santiago Ospina De Los Ríos's avatar Santiago Ospina De Los Ríos
Browse files

Remove border exchange

parent 1fb53630
Pipeline #39456 failed with stage
in 7 minutes and 50 seconds
......@@ -741,7 +741,7 @@ namespace Dune {
Vector x(v); // make a copy because it has to be made consistent
typedef Dune::PDELab::NonoverlappingScalarProduct<GFS,Vector> PSP;
PSP psp(gfs,phelper);
psp.make_consistent(x);
// psp.make_consistent(x);
return psp.norm(x);
}
......@@ -759,7 +759,7 @@ namespace Dune {
MatrixType& mat = Backend::native(A);
using VectorType = Backend::Native<W>;
#if HAVE_MPI
typedef typename ISTL::CommSelector<96,Dune::MPIHelper::isFake>::type Comm;
typedef typename ISTL::CommSelector<96,false>::type Comm;
_grid_operator.make_consistent(A);
ISTL::assertParallelUG(gfs.gridView().comm());
Comm oocc(gfs.gridView().comm(),Dune::SolverCategory::nonoverlapping);
......
......@@ -151,7 +151,7 @@ namespace Dune{
lfsu_cache,p[k].j()
);
add_border_pattern(std::integral_constant<bool,LocalAssembler::isNonOverlapping>(),
add_border_pattern(std::false_type{},
lfsv_cache,
lfsu_cache,
p);
......@@ -261,7 +261,7 @@ namespace Dune{
void postAssembly(const GFSU& gfsu, const GFSV& gfsv)
{
post_border_pattern_assembly(std::integral_constant<bool,LocalAssembler::isNonOverlapping>(),
post_border_pattern_assembly(std::false_type{},
gfsu,
gfsv);
}
......
......@@ -57,11 +57,13 @@ namespace Dune{
> LocalAssembler;
// Fix this as soon as the default Partitions are constexpr
typedef typename std::conditional<
GFSU::Traits::EntitySet::Partitions::partitionIterator() == InteriorBorder_Partition,
NonOverlappingBorderDOFExchanger<GridOperator>,
OverlappingBorderDOFExchanger<GridOperator>
>::type BorderDOFExchanger;
// typedef typename std::conditional<
// GFSU::Traits::EntitySet::Partitions::partitionIterator() == InteriorBorder_Partition,
// NonOverlappingBorderDOFExchanger<GridOperator>,
// OverlappingBorderDOFExchanger<GridOperator>
// >::type BorderDOFExchanger;
typedef NoDataBorderDOFExchanger<GridOperator> BorderDOFExchanger;
//! The grid operator traits
typedef Dune::PDELab::GridOperatorTraits
......@@ -211,7 +213,7 @@ namespace Dune{
void make_consistent(Jacobian& a) const
{
dof_exchanger->accumulateBorderEntries(*this,a);
// dof_exchanger->accumulateBorderEntries(*this,a);
}
void update()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment