Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output functionals in CG discretizations #489

merged 4 commits into from Dec 3, 2018


Copy link

@sdrave sdrave commented Nov 26, 2018

This PR adds support for assembling arbitrary l2 output functionals (on the interior or the boundary) for cg discretizations:

  • InstationaryProblem gets an additional functionals attribute to specify output functionals.
  • Assembly of these functionals is only implemented for CG. FV is still missing.
  • In, the boundary treatment is moved to BoundaryL2ProductFunctionalP/Q1 which handles the assembly of dirichlet / neumann or arbitrary boundary l2 functionals. BoundaryDirichletFunctional is used for enforcing dirichlet constraints.


  • A small fix for NumpyMatrixBasedOperator.H.
  • Functions can now be multiplied, yielding a ProductFunction.
Copy link
Member Author

@sdrave sdrave commented Nov 26, 2018

FYI, I want this in 0.5 as a preparation for #454, #469.

@sdrave sdrave added this to the 0.5 milestone Nov 26, 2018
@sdrave sdrave requested a review from ftalbrecht Nov 26, 2018
@sdrave sdrave force-pushed the discretize_output_functionals branch from d3823e4 to 38c8c0e Nov 26, 2018
Copy link

@codecov codecov bot commented Nov 26, 2018

Codecov Report

Merging #489 into master will increase coverage by 0.35%.
The diff coverage is 84.35%.

Impacted Files Coverage Δ
src/pymor/operators/ 80.9% <0%> (ø) ⬆️
src/pymor/analyticalproblems/ 100% <100%> (ø) ⬆️
src/pymor/functions/ 87.39% <26.31%> (-11.63%) ⬇️
src/pymor/discretizers/ 83.46% <50%> (-0.54%) ⬇️
src/pymor/discretizers/ 86.06% <76.47%> (-2.01%) ⬇️
src/pymor/grids/ 82.3% <85.71%> (-0.31%) ⬇️
src/pymor/operators/ 87.64% <97.95%> (+5.43%) ⬆️
src/pymor/vectorarrays/ 92.46% <0%> (+0.68%) ⬆️
src/pymor/operators/ 84.18% <0%> (+1.48%) ⬆️
... and 3 more
@sdrave sdrave force-pushed the discretize_output_functionals branch from 38c8c0e to a1a2468 Nov 27, 2018
@sdrave sdrave merged commit 4b6a193 into master Dec 3, 2018
4 checks passed
4 checks passed
continuous-integration/appveyor/branch AppVeyor build succeeded
continuous-integration/appveyor/pr AppVeyor build succeeded
continuous-integration/travis-ci/pr The Travis CI build passed
continuous-integration/travis-ci/push The Travis CI build passed
@sdrave sdrave deleted the discretize_output_functionals branch Dec 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant