]> https://gitweb.dealii.org/ - dealii.git/commit
add n_q_points_1d template argument to MatrixFreeOperators::MassOperator
authorDenis Davydov <davydden@gmail.com>
Thu, 3 Nov 2016 13:01:40 +0000 (14:01 +0100)
committerDenis Davydov <davydden@gmail.com>
Thu, 3 Nov 2016 13:01:40 +0000 (14:01 +0100)
commite066b2c7acde80ea4063c317bc4e1509fc164a16
tree9fb4db8c0ae4b6a508b961c52131ddf8136f4e93
parentfb671fa33fe8292942ac09a18ea2e983f1707781
add n_q_points_1d template argument to MatrixFreeOperators::MassOperator

the rationale is support different usage cases. Say, when projecting
a function one would use fe_degree+2. However when projecting the
MatrixFree quadrature data given by Table<>, most often this data
corresponds to fe_degree+1. So while being given a MatrixFree data
object, we use it even though the mass matrix could be slightly
under-integrated.
include/deal.II/matrix_free/operators.h
include/deal.II/numerics/vector_tools.templates.h
tests/matrix_free/mass_operator_01.cc
tests/matrix_free/mass_operator_02.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.