Skip to content

Commit

Permalink
Simplified implementation of reflection coefficient profile
Browse files Browse the repository at this point in the history
  • Loading branch information
kapple19 committed Aug 11, 2024
1 parent 060c863 commit f0ac505
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/99_postliminary/01_functors/reflection_coefficient.jl
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
export reflection_coefficient_profile
export ReflectionCoefficientProfile

struct ReflectionCoefficientProfileType <: ModellingFunction end
const reflection_coefficient_profile = ReflectionCoefficientProfileType()

struct ReflectionCoefficientProfile{ProfileFunctionType <: Function} <: ModellingFunctor
profile::ProfileFunctionType
end

EnvironmentComponent(::ReflectionCoefficientProfileType) = GenericOceanInterface()
ModellingFunction(::Type{<:ReflectionCoefficientProfile}) = reflection_coefficient_profile
@implement_environment_function_and_functor ReflectionCoefficient GenericOceanInterface

function (FunctorType::Type{<:ReflectionCoefficientProfile})(
EC::GenericOceanInterface,
Expand Down

0 comments on commit f0ac505

Please sign in to comment.