Skip to content
Snippets Groups Projects
Commit 5496f225 authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Whitespace

parent 38e99693
No related branches found
No related tags found
No related merge requests found
...@@ -32,9 +32,8 @@ void assemble_neumann(GridView const &gridView, FEBasis const &feBasis, ...@@ -32,9 +32,8 @@ void assemble_neumann(GridView const &gridView, FEBasis const &feBasis,
SampleVector); SampleVector);
NeumannBoundaryAssembler<GridType, LocalVectorType> neumannBoundaryAssembler( NeumannBoundaryAssembler<GridType, LocalVectorType> neumannBoundaryAssembler(
fNeumann); fNeumann);
BoundaryFunctionalAssembler<FEBasis>(feBasis, neumannBoundary)
BoundaryFunctionalAssembler<FEBasis>(feBasis, neumannBoundary).assemble( .assemble(neumannBoundaryAssembler, f, true);
neumannBoundaryAssembler, f, true); // resize and zero output vector
} }
// Assembles constant 1-function on frictional boundary in nodalIntegrals // Assembles constant 1-function on frictional boundary in nodalIntegrals
...@@ -50,8 +49,7 @@ assemble_frictional(GridView const &gridView, FEBasis const &feBasis, ...@@ -50,8 +49,7 @@ assemble_frictional(GridView const &gridView, FEBasis const &feBasis,
auto const nodalIntegrals = Dune::make_shared<Dune::BlockVector<Singleton>>(); auto const nodalIntegrals = Dune::make_shared<Dune::BlockVector<Singleton>>();
BoundaryFunctionalAssembler<FEBasis>(feBasis, frictionalBoundary) BoundaryFunctionalAssembler<FEBasis>(feBasis, frictionalBoundary)
.assemble(frictionalBoundaryAssembler, *nodalIntegrals, .assemble(frictionalBoundaryAssembler, *nodalIntegrals, true);
true); // resize and zero output vector
return nodalIntegrals; return nodalIntegrals;
} }
......
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