geometry Derived Type

type, public, abstract :: geometry

Abstract representation of the problem geometry in a problem-independent fashion; defer case-specific steps to child classes


Inherited by

type~~geometry~~InheritedByGraph type~geometry geometry type~cylinder_2d cylinder_2d type~cylinder_2d->type~geometry type~plate_3d plate_3d type~plate_3d->type~geometry type~sphere_1d sphere_1d type~sphere_1d->type~geometry type~problem_discretization problem_discretization type~problem_discretization->type~geometry problem_geometry

Contents


Type-Bound Procedures

procedure, public :: build

  • interface

    private module subroutine build(this, grid_description_file)

    template method pattern for building a geometry description from a json_file

    Arguments

    Type IntentOptional AttributesName
    class(geometry), intent(out) :: this
    character(len=*), intent(in) :: grid_description_file

procedure(set_metadata), public, deferred :: set_block_metadata

  • subroutine set_metadata(this) Prototype

    read grid metadata from json_file stored in child class

    Arguments

    Type IntentOptional AttributesName
    class(geometry), intent(inout) :: this

procedure(set_json_file), public, deferred :: set_grid_specification

  • subroutine set_json_file(this, grid_description_file) Prototype

    define json_file problem description

    Arguments

    Type IntentOptional AttributesName
    class(geometry), intent(out) :: this
    character(len=*), intent(in) :: grid_description_file