]> https://gitweb.dealii.org/ - dealii.git/commit
Add classes restricting a function to a lower dimension 12015/head
authorSimon Sticko <simon@sticko.se>
Mon, 5 Apr 2021 11:34:10 +0000 (13:34 +0200)
committerSimon Sticko <simon@sticko.se>
Wed, 28 Apr 2021 05:57:30 +0000 (07:57 +0200)
commit241153c716bd07074566a3821ee807dd51e07520
treeee67fec87ee225b9e184d9555430afe8820040ce
parent633037f48c78fa10d110db1b949440623288900d
Add classes restricting a function to a lower dimension

Add a class CoordinateRestriction that corresponds to restricting one
coordinate of a dealii::Function, f, to a given value. That is, if Z is
a fixed value we create the new function

g = g(x, y) = f(x, y, Z).

Correspondingly, add a class PointRestriction that takes a point (Y, Z)
and restricts a dealii::Function to the point, i.e, we create the new
function

g = g(x) = f(x, Y, Z).
include/deal.II/base/function_restriction.h [new file with mode: 0644]
source/base/CMakeLists.txt
source/base/function_restriction.cc [new file with mode: 0644]
source/base/function_restriction.inst.in [new file with mode: 0644]
tests/base/coordinate_restriction.cc [new file with mode: 0644]
tests/base/coordinate_restriction.output [new file with mode: 0644]
tests/base/create_higher_dim_point.cc [new file with mode: 0644]
tests/base/create_higher_dim_point.output [new file with mode: 0644]
tests/base/point_restriction.cc [new file with mode: 0644]
tests/base/point_restriction.output [new file with mode: 0644]

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.