initEnvironmentFromJSON Interface

interface
private module subroutine initEnvironmentFromJSON(this, textbookObj, normObj)

Arguments

Type IntentOptional Attributes Name
class(EnvironmentWrapper), intent(inout) :: this
type(Textbook), intent(in), optional :: textbookObj

Textbook object used to retrieve derivation rules for variable container

class(Normalization), intent(in), optional :: normObj

Normalization object used to retrieve grid normalization. If not present grid is assumed normalized

Description

Initialize environment using data from config.json and textbook object for initializing external variables. Also initializes the status_printing module. If the textbook is not supplied the envirnment is not considered defined and finishInit must be called before the environment is passed around.