mimic_properties Module

property types



Contents


Derived Types

type, public :: multipoles_type

contains multipoles and related variables and procedures

Components

TypeVisibilityAttributesNameInitial
integer, public :: id

probably redundant

integer, public :: order

highest order of multipoles

real(kind=dp), public, dimension(3):: origin

coordinates of multipoles origin

real(kind=dp), public, dimension(:), allocatable:: values

array of multipole values

Type-Bound Procedures

procedure, private :: init_multipoles
generic, public :: init => init_multipoles
procedure, public :: get_size => get_multipoles_size

Functions

private pure function get_multipoles_size(this)

Arguments

TypeIntentOptionalAttributesName
class(multipoles_type), intent(in) :: this

Return Value integer


Subroutines

private subroutine init_multipoles(this, id, origin, order, values)

Arguments

TypeIntentOptionalAttributesName
class(multipoles_type), intent(inout) :: this
integer, intent(in) :: id
real(kind=dp), intent(in), dimension(:):: origin
integer, intent(in) :: order
real(kind=dp), intent(in), dimension(:):: values