xdmf_attribute_obj Derived Type

type, private :: xdmf_attribute_obj

An XDMF attribute.


Inherited by

type~~xdmf_attribute_obj~~InheritedByGraph type~xdmf_attribute_obj xdmf_attribute_obj type~xdmf_grid_obj xdmf_grid_obj type~xdmf_grid_obj->type~xdmf_attribute_obj axis type~xdmf_obj xdmf_obj type~xdmf_obj->type~xdmf_attribute_obj fields type~xdmf_obj->type~xdmf_grid_obj grid

Components

Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: dimensions

XDMF attribute dimensions

character(len=:), public, allocatable :: format

XDMF attribute format

character(len=:), public, allocatable :: name

XDMF attribute name

character(len=:), public, allocatable :: path

XDMF attribute path

character(len=:), public, allocatable :: precision

XDMF attribute precision

character(len=:), public, allocatable :: type

XDMF attribute type


Type-Bound Procedures

procedure, public :: Free => xdmf_attribute_obj_Free

  • private pure subroutine xdmf_attribute_obj_Free(this)

    Frees up data stored by this XDMF attribute.

    Arguments

    Type IntentOptional Attributes Name
    class(xdmf_attribute_obj), intent(inout) :: this

    XDMF attribute object

Source Code

  type :: xdmf_attribute_obj
    !> An XDMF attribute.
    character(len=:), allocatable :: name                                      !! XDMF attribute name
    character(len=:), allocatable :: type                                      !! XDMF attribute type
    character(len=:), allocatable :: precision                                 !! XDMF attribute precision
    character(len=:), allocatable :: format                                    !! XDMF attribute format
    character(len=:), allocatable :: dimensions                                !! XDMF attribute dimensions
    character(len=:), allocatable :: path                                      !! XDMF attribute path
    contains
      procedure :: Free => xdmf_attribute_obj_Free
  end type xdmf_attribute_obj