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

b -> nodalIntegrals

parent ebb6f65f
No related branches found
No related tags found
No related merge requests found
......@@ -169,7 +169,7 @@ int main() {
neumannNodes);
{ // constant 1D function
std::vector<Dune::FieldVector<double, 1>> b;
std::vector<Dune::FieldVector<double, 1>> nodalIntegrals;
ConstantFunction<SmallVector, Dune::FieldVector<double, 1>>
constantOneFunction(1);
NeumannBoundaryAssembler<GridType, Dune::FieldVector<double, 1>>
......@@ -178,7 +178,7 @@ int main() {
BoundaryFunctionalAssembler<P1Basis> boundaryFunctionalAssembler(
p1Basis, neumannBoundary);
boundaryFunctionalAssembler.assemble(
neumannBoundaryAssembler, b,
neumannBoundaryAssembler, nodalIntegrals,
true); // resize the output vector and zero all of its entries
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment