Initialize MBE context with required configuration
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(mbe_context_t), | intent(out) | :: | this | |||
| type(method_config_t), | intent(in) | :: | method_config | |||
| integer(kind=int32), | intent(in) | :: | calc_type |
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