changeset 948:1484073dfe27 feature/laplace_opset

Rename type parameter DiffOp to TM
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 14 Mar 2022 07:50:53 +0100
parents 38d1752a9aff
children 7168d28b03e3
files src/SbpOperators/volumeops/laplace/laplace.jl
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/SbpOperators/volumeops/laplace/laplace.jl	Sun Mar 13 21:01:09 2022 +0100
+++ b/src/SbpOperators/volumeops/laplace/laplace.jl	Mon Mar 14 07:50:53 2022 +0100
@@ -1,12 +1,12 @@
 """
-    Laplace{T, Dim, DiffOp} <: TensorMapping{T, Dim, Dim}
+    Laplace{T, Dim, TM} <: TensorMapping{T, Dim, Dim}
 
 Implements the Laplace operator, approximating ∑d²/xᵢ² , i = 1,...,`Dim` as a
 `TensorMapping`. Additionally `Laplace` stores the stencil set (parsed from TOML) 
 used to construct the `TensorMapping`.
 """
-struct Laplace{T, Dim, DiffOp<:TensorMapping{T, Dim, Dim}} <: TensorMapping{T, Dim, Dim}
-    D::DiffOp# Differential operator
+struct Laplace{T, Dim, TM<:TensorMapping{T, Dim, Dim}} <: TensorMapping{T, Dim, Dim}
+    D::TM# Differential operator
     stencil_set # Stencil set of the operator
 end