mg_bc_t Derived Type

type, public :: mg_bc_t


Inherited by

type~~mg_bc_t~3~~InheritedByGraph type~mg_bc_t~3 mg_bc_t type~mg_t~3 mg_t type~mg_t~3->type~mg_bc_t~3 bc

Components

Type Visibility Attributes Name Initial
integer, public :: bc_type = mg_bc_dirichlet

Type of boundary condition

real(kind=dp), public :: bc_value = 0.0_dp

Value (for e.g. Dirichlet or Neumann)

procedure(mg_subr_bc), public, pointer, nopass :: boundary_cond => null()

To set user-defined boundary conditions (overrides bc(:))

procedure(mg_subr_rb), public, pointer, nopass :: refinement_bnd => null()

To set a user-defined refinement boundary method


Source Code

  type, public :: mg_bc_t
     integer  :: bc_type  = mg_bc_dirichlet
     !< Type of boundary condition
     real(dp) :: bc_value = 0.0_dp
     !< Value (for e.g. Dirichlet or Neumann)
     !> To set user-defined boundary conditions (overrides bc(:))
     procedure(mg_subr_bc), pointer, nopass :: boundary_cond  => null()
     !> To set a user-defined refinement boundary method
     procedure(mg_subr_rb), pointer, nopass :: refinement_bnd => null()
  end type mg_bc_t