initGridFromJSON Interface

interface
public module subroutine initGridFromJSON(gridObj, jsonCont, mpiCont, lengthNorm)

Arguments

Type IntentOptional Attributes Name
type(Grid), intent(inout) :: gridObj
type(JSONController), intent(inout) :: jsonCont

JSONController used to get parameters from ./config.json

type(MPIController), intent(inout) :: mpiCont

MPIController used with JSONController

real(kind=rk), intent(in), optional :: lengthNorm

Length normalization if the supplied grid is in meters, defaults to 1

Description

Initialize grid object based on data from a JSON file.