distribution_t Derived Type

type, public :: distribution_t


Components

Type Visibility Attributes Name Initial
double precision, private, allocatable, dimension(:) :: vel_
double precision, private, allocatable, dimension(:) :: cumulative_distribution_

Constructor

public interface distribution_t

  • private pure module function construct(sample_distribution) result(distribution)

    Arguments

    Type IntentOptional Attributes Name
    double precision, intent(in) :: sample_distribution(:,:)

    Return Value type(distribution_t)


Type-Bound Procedures

procedure, public :: cumulative_distribution

  • interface

    private pure module function cumulative_distribution(self) result(my_cumulative_distribution)

    Arguments

    Type IntentOptional Attributes Name
    class(distribution_t), intent(in) :: self

    Return Value double precision, allocatable, (:)

procedure, public :: velocities

  • interface

    private pure module function velocities(self, speeds, directions) result(my_velocities)

    Return the t_cell_collection_t object's velocity vectors

    Arguments

    Type IntentOptional Attributes Name
    class(distribution_t), intent(in) :: self
    double precision, intent(in) :: speeds(:,:)
    double precision, intent(in) :: directions(:,:,:)

    Return Value double precision, allocatable, (:,:,:)