field2d Derived Type

type, public :: field2d


Inherits

type~~field2d~~InheritsGraph type~field2d field2d type~fft2d fft2d type~field2d->type~fft2d ft type~spect2d spect2d type~field2d->type~spect2d sp type~fpois2d fpois2d type~field2d->type~fpois2d pt type~parallel_pipe parallel_pipe type~field2d->type~parallel_pipe p type~ufield2d ufield2d type~field2d->type~ufield2d rs, ks type~perrors perrors type~field2d->type~perrors err type~fft2d->type~spect2d sp type~fft2d->type~parallel_pipe p type~fft2d->type~perrors err type~spect2d->type~parallel_pipe p type~spect2d->type~perrors err type~fpois2d->type~spect2d sp type~fpois2d->type~parallel_pipe p type~fpois2d->type~perrors err type~parallel parallel type~parallel_pipe->type~parallel type~ufield2d->type~spect2d sp type~ufield2d->type~parallel_pipe p type~ufield2d->type~perrors err type~perrors->type~parallel p

Inherited by

type~~field2d~~InheritedByGraph type~field2d field2d type~species2d species2d type~species2d->type~field2d q, qn, cu, amu, dcu type~sim_fields sim_fields type~sim_fields->type~field2d qb, qe, psit, psi, div_vpot, reg, fxy, bxyz, cu, dcu, amu, epw, epwb type~simulation simulation type~simulation->type~sim_fields fields type~sim_species sim_species type~simulation->type~sim_species species type~sim_species->type~species2d spe

Contents


Components

TypeVisibility AttributesNameInitial
class(spect2d), public, pointer:: sp=> null()
class(perrors), public, pointer:: err=> null()
class(parallel_pipe), public, pointer:: p=> null()
class(ufield2d), private, pointer:: rs=> null()
class(ufield2d), private, pointer:: ks=> null()
class(fft2d), private, pointer:: ft=> null()
class(fpois2d), private, pointer:: pt=> null()
integer, private :: state
integer, private :: gcells

Type-Bound Procedures

generic, public :: new => init_field2d

  • private subroutine init_field2d(this, pp, perr, psp, dim, fftflag, state, gcells)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(parallel_pipe), intent(in), pointer:: pp
    class(perrors), intent(in), pointer:: perr
    class(spect2d), intent(in), pointer:: psp
    integer, intent(in) :: dim
    logical, intent(in) :: fftflag
    integer, intent(in), optional :: state
    integer, intent(in), optional :: gcells

generic, public :: del => end_field2d

  • private subroutine end_field2d(this)

    Arguments

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

generic, public :: fftrk => fftrk_field2d

  • private subroutine fftrk_field2d(this, kind)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    integer, intent(in) :: kind

generic, public :: fftkr => fftkr_field2d

  • private subroutine fftkr_field2d(this, kind)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    integer, intent(in) :: kind

generic, public :: div => divf_field2d

  • private subroutine divf_field2d(this, that)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field2d), intent(inout) :: that

generic, public :: grad => gradf_field2d

  • private subroutine gradf_field2d(this, that)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field2d), intent(inout) :: that

generic, public :: curl => curlf_field2d

  • private subroutine curlf_field2d(this, that)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field2d), intent(inout) :: that

generic, public :: pot => potential_field2d

  • private subroutine potential_field2d(this, that)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field2d), intent(inout) :: that

generic, public :: smooth => smoothf_field2d

  • private subroutine smoothf_field2d(this, that)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field2d), intent(inout) :: that

generic, public :: elf => elfield_field2d

  • private subroutine elfield_field2d(this, that)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field2d), intent(inout) :: that

generic, public :: bf => bfield_field2d

  • private subroutine bfield_field2d(this, that)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field2d), intent(inout) :: that

generic, public :: bfqp => bfield_qp_field2d

  • private subroutine bfield_qp_field2d(cu, dcu, amu, bxy, c, dex)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: cu
    class(field2d), intent(inout) :: dcu
    class(field2d), intent(inout) :: amu
    class(field2d), intent(inout) :: bxy
    real, intent(in) :: c
    real, intent(in) :: dex

generic, public :: cg => copyguard_field2d

  • private subroutine copyguard_field2d(this)

    Arguments

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

generic, public :: ag => acopyguard_field2d

  • private subroutine acopyguard_field2d(this)

    Arguments

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

generic, public :: psend => pipesend_field2d

  • private subroutine pipesend_field2d(this, stag, id)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    integer, intent(in) :: stag
    integer, intent(inout) :: id

generic, public :: precv => piperecv_field2d

  • private subroutine piperecv_field2d(this, rtag)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    integer, intent(in) :: rtag

generic, public :: cp => copyfrom

  • private subroutine copyfrom(this, that, lpos, sdim, ddim)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field3d), intent(in) :: that
    integer, intent(in) :: lpos
    integer, intent(in), dimension(:):: sdim
    integer, intent(in), dimension(:):: ddim

generic, public :: ca => copyadd

  • private subroutine copyadd(this, that, lpos, sdim, ddim)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field3d), intent(in) :: that
    integer, intent(in) :: lpos
    integer, intent(in), dimension(:):: sdim
    integer, intent(in), dimension(:):: ddim

generic, public :: cb => copyto

  • private subroutine copyto(this, that, lpos, sdim, ddim)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field3d), intent(in) :: that
    integer, intent(in) :: lpos
    integer, intent(in), dimension(:):: sdim
    integer, intent(in), dimension(:):: ddim

generic, public :: as => asc, asa

  • private subroutine asc(this, value)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    real, intent(in) :: value
  • private subroutine asa(this, that)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field2d), intent(inout) :: that

generic, public :: add => sum1, sum2

  • private subroutine sum1(this, a1, a2)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field2d), intent(in) :: a1
    class(field2d), intent(in) :: a2
  • private subroutine sum2(this, a1, a2, dim, dim1, dim2)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field2d), intent(in) :: a1
    class(field2d), intent(in) :: a2
    integer, intent(in), dimension(:):: dim
    integer, intent(in), dimension(:):: dim1
    integer, intent(in), dimension(:):: dim2

generic, public :: sub => minus1, minus2

  • private subroutine minus1(this, a1, a2)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field2d), intent(in) :: a1
    class(field2d), intent(in) :: a2
  • private subroutine minus2(this, a1, a2, dim, dim1, dim2)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field2d), intent(in) :: a1
    class(field2d), intent(in) :: a2
    integer, intent(in), dimension(:):: dim
    integer, intent(in), dimension(:):: dim1
    integer, intent(in), dimension(:):: dim2

generic, public :: mult => multiply1, multiply2

  • private subroutine multiply1(this, a1, value)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field2d), intent(in) :: a1
    real, intent(in) :: value
  • private subroutine multiply2(this, a1, dim, dim1, value)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field2d), intent(in) :: a1
    integer, intent(in), dimension(:):: dim
    integer, intent(in), dimension(:):: dim1
    real, intent(in), dimension(:):: value

generic, public :: wr => writehdf5_field2d

  • private subroutine writehdf5_field2d(this, file, dim)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(hdf5file), intent(in) :: file
    integer, intent(in) :: dim

procedure, private :: end_field2d

  • private subroutine end_field2d(this)

    Arguments

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

procedure, private :: init_field2d

  • private subroutine init_field2d(this, pp, perr, psp, dim, fftflag, state, gcells)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(parallel_pipe), intent(in), pointer:: pp
    class(perrors), intent(in), pointer:: perr
    class(spect2d), intent(in), pointer:: psp
    integer, intent(in) :: dim
    logical, intent(in) :: fftflag
    integer, intent(in), optional :: state
    integer, intent(in), optional :: gcells

procedure, private :: divf_field2d

  • private subroutine divf_field2d(this, that)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field2d), intent(inout) :: that

procedure, private :: fftkr_field2d

  • private subroutine fftkr_field2d(this, kind)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    integer, intent(in) :: kind

procedure, private :: fftrk_field2d

  • private subroutine fftrk_field2d(this, kind)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    integer, intent(in) :: kind

procedure, private :: potential_field2d

  • private subroutine potential_field2d(this, that)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field2d), intent(inout) :: that

procedure, private :: curlf_field2d

  • private subroutine curlf_field2d(this, that)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field2d), intent(inout) :: that

procedure, private :: gradf_field2d

  • private subroutine gradf_field2d(this, that)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field2d), intent(inout) :: that

procedure, private :: bfield_field2d

  • private subroutine bfield_field2d(this, that)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field2d), intent(inout) :: that

procedure, private :: elfield_field2d

  • private subroutine elfield_field2d(this, that)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field2d), intent(inout) :: that

procedure, private :: smoothf_field2d

  • private subroutine smoothf_field2d(this, that)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field2d), intent(inout) :: that

procedure, private :: copyguard_field2d

  • private subroutine copyguard_field2d(this)

    Arguments

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

procedure, private :: bfield_qp_field2d

  • private subroutine bfield_qp_field2d(cu, dcu, amu, bxy, c, dex)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: cu
    class(field2d), intent(inout) :: dcu
    class(field2d), intent(inout) :: amu
    class(field2d), intent(inout) :: bxy
    real, intent(in) :: c
    real, intent(in) :: dex

procedure, private :: pipesend_field2d

  • private subroutine pipesend_field2d(this, stag, id)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    integer, intent(in) :: stag
    integer, intent(inout) :: id

procedure, private :: acopyguard_field2d

  • private subroutine acopyguard_field2d(this)

    Arguments

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

procedure, private :: multiply1

  • private subroutine multiply1(this, a1, value)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field2d), intent(in) :: a1
    real, intent(in) :: value

procedure, private :: minus1

  • private subroutine minus1(this, a1, a2)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field2d), intent(in) :: a1
    class(field2d), intent(in) :: a2

procedure, private :: sum1

  • private subroutine sum1(this, a1, a2)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field2d), intent(in) :: a1
    class(field2d), intent(in) :: a2

procedure, private :: asa

  • private subroutine asa(this, that)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field2d), intent(inout) :: that

procedure, private :: asc

  • private subroutine asc(this, value)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    real, intent(in) :: value

procedure, private :: piperecv_field2d

  • private subroutine piperecv_field2d(this, rtag)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    integer, intent(in) :: rtag

procedure, private :: minus2

  • private subroutine minus2(this, a1, a2, dim, dim1, dim2)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field2d), intent(in) :: a1
    class(field2d), intent(in) :: a2
    integer, intent(in), dimension(:):: dim
    integer, intent(in), dimension(:):: dim1
    integer, intent(in), dimension(:):: dim2

procedure, private :: sum2

  • private subroutine sum2(this, a1, a2, dim, dim1, dim2)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field2d), intent(in) :: a1
    class(field2d), intent(in) :: a2
    integer, intent(in), dimension(:):: dim
    integer, intent(in), dimension(:):: dim1
    integer, intent(in), dimension(:):: dim2

procedure, private :: multiply2

  • private subroutine multiply2(this, a1, dim, dim1, value)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field2d), intent(in) :: a1
    integer, intent(in), dimension(:):: dim
    integer, intent(in), dimension(:):: dim1
    real, intent(in), dimension(:):: value

procedure, private :: writehdf5_field2d

  • private subroutine writehdf5_field2d(this, file, dim)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(hdf5file), intent(in) :: file
    integer, intent(in) :: dim

procedure, private :: copyadd

  • private subroutine copyadd(this, that, lpos, sdim, ddim)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field3d), intent(in) :: that
    integer, intent(in) :: lpos
    integer, intent(in), dimension(:):: sdim
    integer, intent(in), dimension(:):: ddim

procedure, private :: copyto

  • private subroutine copyto(this, that, lpos, sdim, ddim)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field3d), intent(in) :: that
    integer, intent(in) :: lpos
    integer, intent(in), dimension(:):: sdim
    integer, intent(in), dimension(:):: ddim

procedure, private :: copyfrom

  • private subroutine copyfrom(this, that, lpos, sdim, ddim)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(inout) :: this
    class(field3d), intent(in) :: that
    integer, intent(in) :: lpos
    integer, intent(in), dimension(:):: sdim
    integer, intent(in), dimension(:):: ddim

procedure, public :: getks

  • private function getks(this)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(in) :: this

    Return Value class(ufield2d), pointer

procedure, public :: getrs

  • private function getrs(this)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(in) :: this

    Return Value class(ufield2d), pointer

procedure, public :: getgcells

  • private function getgcells(this)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(in) :: this

    Return Value integer

procedure, public :: getstate

  • private function getstate(this)

    Arguments

    Type IntentOptional AttributesName
    class(field2d), intent(in) :: this

    Return Value integer