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

[Cleanup] Rename: SampleVector -> localNeumann

parent 635777c6
No related branches found
No related tags found
No related merge requests found
...@@ -19,10 +19,10 @@ void assembleNeumann(GridView const &gridView, AssemblerType const &assembler, ...@@ -19,10 +19,10 @@ void assembleNeumann(GridView const &gridView, AssemblerType const &assembler,
double relativeTime) { // constant sample function on double relativeTime) { // constant sample function on
// neumann boundary // neumann boundary
BoundaryPatch<GridView> const neumannBoundary(gridView, neumannNodes); BoundaryPatch<GridView> const neumannBoundary(gridView, neumannNodes);
LocalVectorType SampleVector(0); LocalVectorType localNeumann(0);
neumann.evaluate(relativeTime, SampleVector[0]); neumann.evaluate(relativeTime, localNeumann[0]);
ConstantFunction<LocalVectorType, LocalVectorType> const fNeumann( ConstantFunction<LocalVectorType, LocalVectorType> const fNeumann(
SampleVector); localNeumann);
NeumannBoundaryAssembler<typename GridView::Grid, LocalVectorType> NeumannBoundaryAssembler<typename GridView::Grid, LocalVectorType>
neumannBoundaryAssembler(fNeumann); neumannBoundaryAssembler(fNeumann);
assembler.assembleBoundaryFunctional(neumannBoundaryAssembler, f, assembler.assembleBoundaryFunctional(neumannBoundaryAssembler, f,
......
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