vtk_output_ Derived Type

type, public, extends(output) :: vtk_output_

DT for writing vtk files


Inherits

type~~vtk_output_~~InheritsGraph type~vtk_output_ vtk_output_ type~output output type~vtk_output_->type~output

Contents

Source Code


Type-Bound Procedures

procedure, public, nopass :: create_output

  • interface

    public module function create_output(input_file, sec) result(out)

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: input_file
    character(len=*), intent(in) :: sec

    Return Value class(output), allocatable

procedure, public :: fmt_

  • interface

    private module function fmt_(out)

    Arguments

    Type IntentOptional AttributesName
    class(output), intent(in) :: out

    Return Value integer

procedure, public, nopass :: get_scalar_field

  • interface

    private module function get_scalar_field(fld) result(x_glob)

    Returns a scalar field

    Arguments

    Type IntentOptional AttributesName
    type(scalar_field), intent(in) :: fld

    Return Value real(kind=psb_dpk_), allocatable, (:)

procedure, public, nopass :: get_vector_field

  • interface

    private module function get_vector_field(fld) result(x_glob)

    Returns a vector field

    Arguments

    Type IntentOptional AttributesName
    type(vector_field), intent(in) :: fld

    Return Value real(kind=psb_dpk_), allocatable, (:,:)

generic, public :: nemo_sizeof => nemo_output_sizeof

procedure, public :: path_

  • interface

    private module function path_(out) result(path)

    Arguments

    Type IntentOptional AttributesName
    class(output), intent(in) :: out

    Return Value character(len=:), allocatable

generic, public :: set_output_path => set_output_path_h, set_output_path_iter

generic, public :: write => write_output

procedure, public :: write_output => write_vtk_morfeus

  • interface

    private module subroutine write_vtk_morfeus(out, msh, sfield, vfield, iter)

    This subroutine translates morfeus data structure into a vtkmofo data structure and writes the vtk file

    Arguments

    Type IntentOptional AttributesName
    class(vtk_output_), intent(inout) :: out

    DT of output file info

    type(mesh), intent(in) :: msh

    DT of mesh info

    type(scalar_field), intent(in), optional dimension(:):: sfield

    DT of scalar info

    type(vector_field), intent(in), optional dimension(:):: vfield

    DT of vector info

    type(iterating), intent(in), optional :: iter

    DT of iteration info

Source Code

    TYPE, EXTENDS(output) :: vtk_output_
        !! DT for writing vtk files
    CONTAINS
        PROCEDURE :: write_output => write_vtk_morfeus
    END TYPE vtk_output_