diff src/SbpOperators/volumeops/derivatives/second_derivative_variable.jl @ 1049:3bb94ce74697 feature/variable_derivatives

Merge default
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 23 Mar 2022 12:54:45 +0100
parents b15f39ae1643
children 102ebdaf7c11
line wrap: on
line diff
--- a/src/SbpOperators/volumeops/derivatives/second_derivative_variable.jl	Mon Mar 21 13:21:48 2022 +0100
+++ b/src/SbpOperators/volumeops/derivatives/second_derivative_variable.jl	Wed Mar 23 12:54:45 2022 +0100
@@ -2,11 +2,11 @@
 
 # REVIEW: Fixa docs
 """
-    SecondDerivativeVariable{Dir,T,D,...} <: TensorMapping{T,D,D}
+    SecondDerivativeVariable{Dir,T,D,...} <: LazyTensor{T,D,D}
 
 A second derivative operator in direction `Dir` with a variable coefficient.
 """
-struct SecondDerivativeVariable{Dir,T,D,M,IStencil<:NestedStencil{T},CStencil<:NestedStencil{T},TArray<:AbstractArray} <: TensorMapping{T,D,D}
+struct SecondDerivativeVariable{Dir,T,D,M,IStencil<:NestedStencil{T},CStencil<:NestedStencil{T},TArray<:AbstractArray} <: LazyTensor{T,D,D}
     inner_stencil::IStencil
     closure_stencils::NTuple{M,CStencil}
     size::NTuple{D,Int}
@@ -36,7 +36,7 @@
 @doc raw"""
     SecondDerivativeVariable(grid::EquidistantGrid, coeff::AbstractArray, stencil_set, dir)
 
-Create a `TensorMapping` for the second derivative with a variable coefficient
+Create a `LazyTensor` for the second derivative with a variable coefficient
 `coeff` on `grid` from the stencils in `stencil_set`. The direction is
 determined by `dir`.