bc_math Derived Type

type, public :: bc_math


Inherited by

type~~bc_math~~InheritedByGraph type~bc_math bc_math type~bc_poly bc_poly type~bc_poly->type~bc_math math type~bc_wall bc_wall type~bc_poly->type~bc_wall wall type~bc_wall->type~bc_math temp, pressure, conc, vel, pos, stress type~field field type~field->type~bc_poly bc type~scalar_field scalar_field type~scalar_field->type~field type~vector_field vector_field type~vector_field->type~field

Contents

Source Code


Components

TypeVisibility AttributesNameInitial
real(kind=psb_dpk_), private, allocatable:: a(:)
real(kind=psb_dpk_), private, allocatable:: b(:)
real(kind=psb_dpk_), private, allocatable:: c(:)
integer, private :: id
integer, private :: nbf

Type-Bound Procedures

procedure, public :: alloc_bc_math

  • interface

    private module subroutine alloc_bc_math(bc, id, nbf, a, b, c)

    Arguments

    Type IntentOptional AttributesName
    class(bc_math), intent(inout) :: bc
    integer, intent(in) :: id
    integer, intent(in) :: nbf
    real(kind=psb_dpk_), intent(in) :: a(:)
    real(kind=psb_dpk_), intent(in) :: b(:)
    real(kind=psb_dpk_), intent(in) :: c(:)

procedure, public :: dealloc_bc_math

  • interface

    private module subroutine dealloc_bc_math(bc)

    To be invoked when BC_MATH is a member of another BC class.

    Arguments

    Type IntentOptional AttributesName
    class(bc_math) :: bc

procedure, public :: debug_bc_math

  • interface

    private module subroutine debug_bc_math(bc)

    Arguments

    Type IntentOptional AttributesName
    class(bc_math), intent(in) :: bc

procedure, public :: is_allocated

  • interface

    private elemental module function is_allocated(bc)

    Arguments

    Type IntentOptional AttributesName
    class(bc_math), intent(in) :: bc

    Return Value logical

generic, public :: nemo_sizeof => nemo_bc_math_sizeof

procedure, public :: set_bc_math_map

  • interface

    private module subroutine set_bc_math_map(bc, i, a, b, c)

    Arguments

    Type IntentOptional AttributesName
    class(bc_math), intent(inout) :: bc
    integer, intent(in) :: i
    real(kind=psb_dpk_), intent(in) :: a
    real(kind=psb_dpk_), intent(in) :: b
    real(kind=psb_dpk_), intent(in) :: c

procedure, private :: nemo_bc_math_sizeof

  • interface

    private elemental module function nemo_bc_math_sizeof(bc)

    Arguments

    Type IntentOptional AttributesName
    class(bc_math), intent(in) :: bc

    Return Value integer(kind=nemo_int_long_)

Source Code

    TYPE bc_math
        PRIVATE
        INTEGER :: id
        INTEGER :: nbf
        REAL(psb_dpk_), ALLOCATABLE :: a(:)
        REAL(psb_dpk_), ALLOCATABLE :: b(:)
        REAL(psb_dpk_), ALLOCATABLE :: c(:)
    CONTAINS
        PROCEDURE :: alloc_bc_math   ! Constructor
        PROCEDURE :: dealloc_bc_math ! Destructor
        PROCEDURE :: is_allocated
        PROCEDURE :: set_bc_math_map
        PROCEDURE :: debug_bc_math
        PROCEDURE, PRIVATE :: nemo_bc_math_sizeof
        GENERIC, PUBLIC :: nemo_sizeof => nemo_bc_math_sizeof
    END TYPE bc_math