mod_abstract_cutoff_function¶
Abstract base type for all cutoff functions. author: Nikolas Lausch
Dependencies¶
Derived Types Summary¶
| Name | Description |
|---|---|
CutoffFunctionPtr |
Generic, polymorphic, wrapper-pointer for all cutoff-function objects. |
AbstractCutoffFunction |
An abstract base type for all cutoff functions. |
Derived Types Details¶
type CutoffFunctionPtr¶
Generic, polymorphic, wrapper-pointer for all cutoff-function objects.
Components
-
ptr: class(AbstractCutoffFunction)– "Points" to the actual cutoff function. No reason to use a raw pointer here. Using an allocatable solves this solves a memory leak and no CutoffFunction will ever be so large that it would be worth to use a pointer.
type AbstractCutoffFunction¶
An abstract base type for all cutoff functions.
Components
-
name: character– The name of the cutoff function. -
cutoff_radius: real(DP)– The cutoff radius for this cutoff function -
inner_cutoff: real(DP)– The onset of the cutoff function.
Type-Bound Procedures
| Name | Attributes | Binding |
|---|---|---|
| value | public | ⇒ value |
| first_derivative | public | ⇒ first_derivative |
Inherited By