Menu

PMTM_set_option

Iain Miller

PMTM_set_option

Fortran:

:::fortran
subroutine PMTM_set_option(option, value, err_code)

Sets the value of a specific option to a boolean value.

:::fortran
    integer, intent(in)::option 

The handle of the option to be set.

:::fortran
    logical, intent(in)::value

The value to set the option to, the options being:

  • PMTM_TRUE
    • Set the option as true.
  • PMTM_FALSE
    • Set the option as false.

Currently, it is not possible to set an option to any other values.

:::fortran
    integer, intent(out)::err_code 

Will be set to PMTM_SUCCESS if the call was successful and the appropriate error code if not.

C:

:::C
PMTM_error_t PMTM_set_option(PMTM_option_t option, PMTM_BOOL value)

Related

Wiki: Outputting the Environment
Wiki: PMTM

MongoDB Logo MongoDB