self_force_observer_implementation Submodule

The implementation of the interface in self_force_observer.


Uses

  • module~~self_force_observer_implementation~~UsesGraph module~self_force_observer_implementation self_force_observer_implementation module~self_force_observer self_force_observer module~self_force_observer_implementation->module~self_force_observer module~scalar_schw scalar_schw module~self_force_observer->module~scalar_schw module~observers observers module~self_force_observer->module~observers module~scalar_schw_eff scalar_schw_eff module~scalar_schw->module~scalar_schw_eff module~orbit_base orbit_base module~scalar_schw->module~orbit_base module~kinds kinds module~scalar_schw->module~kinds module~time_dependent_coordinate time_dependent_coordinate module~scalar_schw->module~time_dependent_coordinate module~grid_function grid_function module~scalar_schw->module~grid_function module~dg_structures DG_structures module~scalar_schw->module~dg_structures module~pde_equations pde_equations module~scalar_schw->module~pde_equations iso_c_binding iso_c_binding module~scalar_schw->iso_c_binding module~observers->module~kinds module~observers->module~grid_function module~scalar_schw_eff->module~kinds module~scalar_schw_eff->iso_c_binding module~effective_source effective_source module~scalar_schw_eff->module~effective_source module~orbit_base->module~kinds module~time_dependent_coordinate->module~kinds module~time_dependent_coordinate->module~grid_function module~grid_function->module~kinds module~element element module~grid_function->module~element module~dg_structures->module~kinds module~pde_equations->module~kinds module~pde_equations->module~grid_function module~equations equations module~pde_equations->module~equations module~element->module~kinds module~equations->module~kinds module~effective_source->module~kinds module~effective_source->module~grid_function module~effective_source->iso_c_binding module~world_tube world_tube module~effective_source->module~world_tube module~world_tube->module~kinds module~world_tube->module~grid_function

Contents


Functions

function n_unique_values(var) result(n)

Helper function that finds the number of unique values in a 1d integer array.

Read more…

Arguments

Type IntentOptional AttributesName
integer(kind=c_int), intent(in), dimension(:):: var

An 1d integer arrays.

Return Value integer(kind=ip)

The return value is the number of unique values in the input array.


Module Procedures

module procedure sf_init module subroutine sf_init(this, rad, coord, object)

Arguments

Type IntentOptional AttributesName
class(sf_observer), intent(inout) :: this

The self-force observer that is being initialized.

real(kind=wp), intent(in), dimension(:):: rad

A 1d-array containing the radii where the observations have to be performed. Obviously it only makes sense to pass in the particle location.

type(rgf), intent(in) :: coord

A real grid function containing the coordinates of the grid.

class(*), intent(in), target:: object

The object on which observations have to be done. This has to be of type scal_schw.

module procedure sf_extract module subroutine sf_extract(this)

Arguments

Type IntentOptional AttributesName
class(sf_observer), intent(inout) :: this

The routine is called on this self-force observer.

module procedure sf_output module subroutine sf_output(this)

Arguments

Type IntentOptional AttributesName
class(sf_observer), intent(inout) :: this

The routine is called on this self-force observer.

module procedure close_sf_observer module subroutine close_sf_observer(this)

Arguments

Type IntentOptional AttributesName
type(sf_observer) :: this

The self-force observer to be finalized.