Initialization of the Maxwell equations.
This routine sets up the necessary infrastructure for the Maxwell equations. It reads the configuration from the given script in conf under the table provided in thandle and sets function pointers and variables accordingly.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(atl_Equations_type), | intent(inout) | :: | equation |
Equation system to set with this routine. |
||
integer, | intent(in) | :: | nDimensions |
Number of spatial dimensions, the Maxwell equations should live on. Has to be 2 or 3. |
||
logical, | intent(in) | :: | divCorr |
Use divergence correction? |
||
type(atl_init_source_type), | intent(inout) | :: | initSource |
Type to be filled with the possible source variables for the equation system. These source variables are later on used to extract the corresponding information from the configuration file. |
||
type(atl_init_material_type), | intent(inout) | :: | initMaterial |
Type to be filled with the possible material variables for the equation system. These material variables are later on used to extract the corresponding information from the configuration file. |
||
type(atl_varSys_solverData_type), | intent(inout) | :: | varSys_data |
the pointer to the data required for the varsys |