output_t Derived Type

type, public :: output_t

Encapsulate an input/result pair


Inherits

type~~output_t~~InheritsGraph type~output_t output_t type~input_t input_t type~output_t->type~input_t input_ type~t_cell_collection_t t_cell_collection_t type~output_t->type~t_cell_collection_t history_

Components

Type Visibility Attributes Name Initial
type(input_t), private :: input_
type(t_cell_collection_t), private, allocatable :: history_(:)

Constructor

public interface output_t

  • private pure module function construct(input, history) result(output)

    Construct a new output_t object

    Arguments

    Type IntentOptional Attributes Name
    type(input_t), intent(in) :: input
    type(t_cell_collection_t), intent(in) :: history(:)

    Return Value type(output_t)


Type-Bound Procedures

procedure, public :: simulated_distribution

  • interface

    private module function simulated_distribution(self) result(output_distribution)

    The result is a histogram calculated from the simulation output

    Arguments

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

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

procedure, public :: my_num_cells

  • interface

    private pure module function my_num_cells(self) result(num_cells)

    Arguments

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

    Return Value integer