Neko 1.99.11
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
mappings_cpu.f90 File Reference

Go to the source code of this file.

Modules

module  mappings_cpu
 CPU implementations of the mapping functions.

Functions/Subroutines

subroutine, public mappings_cpu::smooth_step_cpu (x, edge0, edge1, n)
 Apply a smooth step function to a scalar.
subroutine, public mappings_cpu::step_function_cpu (x, x_step, value0, value1, n)
 Apply a step function to a scalar.
subroutine, public mappings_cpu::permeability_cpu (x, k_0, k_1, q, n)
 Apply a permeability function to a scalar.
elemental real(kind=rp) function mappings_cpu::smooth_step_kernel (x, edge0, edge1)
 Apply a smooth step function to a scalar.
elemental real(kind=rp) function mappings_cpu::clamp_kernel (x, lowerlimit, upperlimit)
 Clamp a value between two limits.
elemental real(kind=rp) function mappings_cpu::step_function_kernel (x, x_step, value0, value1)
 Apply a step function to a scalar.
elemental real(kind=rp) function mappings_cpu::permeability_kernel (x, k_0, k_1, q)
 Apply a permeability function to a scalar.