mbe_init Subroutine

private subroutine mbe_init(this, method_config, calc_type)

Initialize MBE context with required configuration

Type Bound

mbe_context_t

Arguments

Type IntentOptional Attributes Name
class(mbe_context_t), intent(out) :: this
type(method_config_t), intent(in) :: method_config
integer(kind=int32), intent(in) :: calc_type

Source Code

   subroutine mbe_init(this, method_config, calc_type)
      !! Initialize MBE context with required configuration
      class(mbe_context_t), intent(out) :: this
      type(method_config_t), intent(in) :: method_config
      integer(int32), intent(in) :: calc_type

      this%method_config = method_config
      this%calc_type = calc_type
   end subroutine mbe_init