singular_observer Module


Uses

  • module~~singular_observer~~UsesGraph module~singular_observer singular_observer module~effective_source effective_source module~singular_observer->module~effective_source module~observers observers module~singular_observer->module~observers module~grid_function grid_function module~effective_source->module~grid_function module~world_tube world_tube module~effective_source->module~world_tube module~kinds kinds module~effective_source->module~kinds iso_c_binding iso_c_binding module~effective_source->iso_c_binding module~observers->module~grid_function module~observers->module~kinds module~grid_function->module~kinds module~element element module~grid_function->module~element module~world_tube->module~grid_function module~world_tube->module~kinds module~element->module~kinds

Used by

  • module~~singular_observer~~UsedByGraph module~singular_observer singular_observer module~singuler_observer_implementation singuler_observer_implementation module~singuler_observer_implementation->module~singular_observer program~test test program~test->module~singular_observer

Contents


Interfaces

interface

  • public module subroutine sobs_init(this, rad, coord, object)

    Arguments

    Type IntentOptional AttributesName
    class(sing_observer), intent(inout) :: this
    real(kind=wp), intent(in), dimension(:):: rad
    type(rgf), intent(in) :: coord
    class(*), intent(in), target:: object

interface

interface

interface


Derived Types

type, public, extends(observer) :: sing_observer

Components

TypeVisibility AttributesNameInitial
integer(kind=ip), public :: nradii

The number of radii the observer should observe at.

integer(kind=ip), public :: ioo_id

The file unit number this observer should use for output.

character(len=:), public, allocatable:: vname

The name of the observer.

real(kind=wp), public, dimension(:), allocatable:: radii

A 1d-array containing the radii that the observer should observe at. On allocation the size is nradii.

integer(kind=ip), public, dimension(:), allocatable:: elem_index

A 1d-array containing the index of all the elements that contains radii.

integer(kind=ip), public, dimension(:), allocatable:: node_index

A 1d-array containing the node index within all the elements that contains radii.

integer(kind=ip), public :: nl
real(kind=wp), public, dimension(:,:), allocatable:: psi
real(kind=wp), public, dimension(:,:,:), allocatable:: dpsidt
real(kind=wp), public, dimension(:,:,:), allocatable:: dpsidr
class(eff_source), public, pointer:: p

Finalizations Procedures

final :: close_sing_observer

Type-Bound Procedures

procedure, public :: init => sobs_init
procedure, public :: extract => sobs_extract
procedure, public :: output => sobs_output