rgf Derived Type

type, public, extends(gf) :: rgf

A real data instance of the abstract grid function class. Note this is not complete, as it has not been needed for evolution yet.


Inherits

type~~rgf~~InheritsGraph type~rgf rgf type~gf gf type~rgf->type~gf type~element_rdata element_rdata type~rgf->type~element_rdata elems type~element_data element_data type~element_rdata->type~element_data

Inherited by

type~~rgf~~InheritedByGraph type~rgf rgf type~robserver robserver type~robserver->type~rgf p type~tdc tdc type~tdc->type~rgf dxdlambda, dxdxi, d2xdlambda2, d2xdxi2, d2xdlambdadxi, rm2m type~rgf_pointer rgf_pointer type~rgf_pointer->type~rgf p type~wtube wtube type~wtube->type~rgf win, dwin, d2win type~scal_schw scal_schw type~scal_schw->type~rgf eq_coeffs, eq_lcoeffs, r_schw, r_star type~scal_schw->type~tdc time_dep_coord type~sf_observer sf_observer type~sf_observer->type~scal_schw p

Contents

Source Code

rgf

Components

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

The number of elements.

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

The name of the grid function.

integer(kind=ip), public :: io_id

The file unit used for output of this grid function.

type(element_rdata), public, dimension(:), allocatable:: elems

A 1d array of the real element data class.


Constructor

public interface rgf

The constructor for a real data type grid function.

  • public interface init_rgf()

    Arguments

    None

Finalization Procedures

final :: deallocate_rgf

The finalizer.


Type-Bound Procedures

procedure, public, non_overridable :: output => output_rgf

Generic type bound procedure for output.

  • interface

    public module subroutine output_rgf(this, coord)

    The interface for an output routine for a real data type grid function.

    Arguments

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

    Has to be called with an rgf class.

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

    A real grid function that contains the coordinates.

Source Code

  type, extends(gf) :: rgf
  !! A real data instance of the abstract grid function class. Note this is
  !! not complete, as it has not been needed for evolution yet.
    type(element_rdata), dimension(:), allocatable :: elems
    !! A 1d array of the real element data class.
    contains
      procedure, non_overridable :: output => output_rgf
      !! Generic type bound procedure for output.
      final :: deallocate_rgf
      !! The finalizer.
  end type rgf