density_type Derived Type

type, public, extends(real_field_grid_type) :: density_type

electronic density type


Contents

Source Code


Components

TypeVisibilityAttributesNameInitial
integer, public :: id
real(kind=dp), public, dimension(:,:,:), pointer:: field=> null()

field values in grid points


Type-Bound Procedures

procedure, public :: init => init_real_field_grid

  • private subroutine init_real_field_grid(this, id, field)

    Arguments

    TypeIntentOptionalAttributesName
    class(real_field_grid_type), intent(inout) :: this
    integer, intent(in) :: id
    real(kind=dp), intent(in), dimension(:,:,:), target:: field

Source Code

    type, extends(real_field_grid_type) :: density_type
        private
    contains
        private
    end type density_type