---------------------------------------------------
--                     HOFEM                     --
---------------------------------------------------

---------------------------------------------------
--        Physic & formulation declaration       --
---------------------------------------------------

-- HOFEM physics
physics = "wave_equation"
-- HOFEM basis functions
basis_functions = "nedelec"
-- HOFEM variational unknowns
variational_unknown = "electric_field"
-- HOFEM geometrical order approximation
geometrical_order = 2
-- HOFEM variational order approximation
variational_order = 2

---------------------------------------------------
--           Geometry & Mesh properties          --
---------------------------------------------------

-- HOFEM geometry units
geometry_units = "mm"
-- Mesh format file
mesh_format = "ASCII"
-- Mesh filename
mesh_filename = "Design.em.mesh"

---------------------------------------------------
--            Sparse solver properties           --
---------------------------------------------------

-- Number of post process
num_post_processes = 2
-- Number of process
num_processes = 2
-- Solver type (in-core/out-of-core)
solver_type = "in-core"
-- Number of Solver thread
solver_threads = 2
--Increment of memory in memory allocation
solver_ooc_mb_memory = 800
--Increment of memory in memory allocation
solver_percentage_memory = 80
-- Block size for RHS calculation
solver_rhs_block_size = 5
-- Solver type (direct/iterative)
solver_technique = direct
-- Solver precision(double/mixed)
solver_precision = "double"
-- Solver BLR compression(true/false)
solver_BLR_compresion = false
-- Solver BLR compression approximations accuracy
solver_BLR_approximations = 5.000000000000000E-03

---------------------------------------------------
--              Frequency properties             --
---------------------------------------------------

-- The number of frequency distributions
Freq_distribution_num = 1
The type of each frequency distribution(Linear Step,Linear Count,Log Scale,SinglePoint)
Freq_distribution_type = { 4 }
-- The frequency distribution information
Freq_distribution_info = { 3.75000000E+02,3.75000000E+02,1.00000000E+00 }
-- Save fields for all frequency
Freq_distribution_savefield = 1
-- Could exist repeat adaptive frequency
Freq_probably_adapt_repeat = 0

---------------------------------------------------
--              Material properties              --
---------------------------------------------------

-- Number of materials
num_materials = 3
-- Material name
material_name_1 = Vacuum
-- Material definition type
definition_type_1 = "Isotropic"
-- Marking of dispersive material
dispersive_mark_1 = "Non-dispersive"
-- Permittivity of material
permittivity_1 = 1.000000000000000E+00
-- Electric loss type of material
electric_loss_type_1 = "Tan"
-- Dielectric loss tangent
dielectric_loss_tangent_1 = 0.000000000000000E+00
-- Permeability of material
permeability_1 = 1.000000000000000E+00
-- Magnetic loss type of material
magnetic_loss_type_1 = "Tan"
-- Magnetic loss tangent
magnetic_loss_tangent_1 = 0.000000000000000E+00
-- Mass density of material
mass_density_1 = 0.000000000000000E+00
-- Heat coefficient of material
heat_coefficient_1 = 0.000000000000000E+00
-- Thermal conductivity of material
thermal_conductivity_1 = 0.000000000000000E+00
-- Initial temperature of material
initial_temperature_1 = 2.500000000000000E+01

-- Material name
material_name_2 = PEC
-- Material definition type
definition_type_2 = "Isotropic"
-- Marking of dispersive material
dispersive_mark_2 = "Non-dispersive"
-- Permittivity of material
permittivity_2 = 1.000000000000000E+00
-- Electric loss type of material
electric_loss_type_2 = "Sigma"
-- Electric conductivity of material
electric_conductivity_2 = 1.000000000000000E+30
-- Permeability of material
permeability_2 = 1.000000000000000E+00
-- Magnetic loss type of material
magnetic_loss_type_2 = "Tan"
-- Magnetic loss tangent
magnetic_loss_tangent_2 = 0.000000000000000E+00
-- Mass density of material
mass_density_2 = 0.000000000000000E+00
-- Heat coefficient of material
heat_coefficient_2 = 0.000000000000000E+00
-- Thermal conductivity of material
thermal_conductivity_2 = 0.000000000000000E+00
-- Initial temperature of material
initial_temperature_2 = 2.500000000000000E+01

-- Material name
material_name_3 = Material1
-- Material definition type
definition_type_3 = "Isotropic"
-- Marking of dispersive material
dispersive_mark_3 = "Non-dispersive"
-- Permittivity of material
permittivity_3 = 1.500000000000000E+00
-- Electric loss type of material
electric_loss_type_3 = "Tan"
-- Dielectric loss tangent
dielectric_loss_tangent_3 = 0.000000000000000E+00
-- Permeability of material
permeability_3 = 1.000000000000000E+00
-- Magnetic loss type of material
magnetic_loss_type_3 = "Tan"
-- Magnetic loss tangent
magnetic_loss_tangent_3 = 0.000000000000000E+00
-- Mass density of material
mass_density_3 = 0.000000000000000E+00
-- Heat coefficient of material
heat_coefficient_3 = 0.000000000000000E+00
-- Thermal conductivity of material
thermal_conductivity_3 = 0.000000000000000E+00
-- Initial temperature of material
initial_temperature_3 = 2.500000000000000E+01

---------------------------------------------------
--             Magnetic bias sources             --
---------------------------------------------------

---------------------------------------------------
--                 UPML Parameter                --
---------------------------------------------------

--UPML active
UPML_active = 0
---------------------------------------------------
--             iiee method properties            --
---------------------------------------------------

-- IIEE activation flag
iiee_truncation_method = false
-- Set the acceleration of the method
iiee_truncation_aceleration = "none"
-- Number of iteration
iiee_truncation_iterations = 10
-- maximum error between iterations
iiee_truncation_error = 1e-4
-- External domain material (should be vacuum)
external_domain_material = 1

---------------------------------------------------
--          Periodic Boundary conditions         --
---------------------------------------------------

---------------------------------------------------
--              Boundary conditions              --
---------------------------------------------------

-- Total number of boundary conditions
num_boundary_conditions = 4

-- Boundary condition marker
bound_mark_1 = 0
-- Boundary condition type
bound_type_1 = "NULL"

-- Boundary condition marker
bound_mark_2 = 1
-- Boundary condition type
bound_type_2 = "PEC"

-- Boundary condition marker
bound_mark_3 = 2
-- Boundary condition type
bound_type_3 = "PMC"

-- Boundary condition marker
bound_mark_4 = 3
-- Boundary condition type
bound_type_4 = "ABC"

---------------------------------------------------
--          Electromagnetic excitations          --
---------------------------------------------------

-- Transfinite element method
is_TFEM_method = false
-- Composite excitation activation flag
composite_excitation = false
-- number of interior excitations (Ovol,Lvol,VS,CS,Osur,Ofil)
num_interior_excitations = { 0,0,0,0,0,0 }
-- number of exterior excitations (Pwaves_single, Pwaves_Multi, HDwace_E, HDwave_H, Lwave, Cwave, GBwave)
num_exterior_excitations = { 1,0,0,0,0,0,0 }
-- number of waveports (rectangular, coaxial, general, lumped, Floquet)
num_waveport_excitations = { 0,0,0,0,0 }
--Number of equivalent sources (near field, far field)
num_equivalent_excitations = { 0,0 }
-- number of terminal ports (general, lumped)
num_terminal_ports = { 0,0 }

-- Excitation Serial Marker
exterior_serial_marker_1 = 1
-- Exterior boundary condition marker
exterior_cond_marker_1 = 3
-- Exterior material marker
exterior_material_1 = 1
-- Exterior planewave type
exterior_type_1 = "Single"
-- Incidence angle THETA,PHI of planewave
exterior_angles_1 = { 0.000000000000000E+00,0.000000000000000E+00 }
-- Polarization angle of planewave
exterior_polar_angle_1 = 0.000000000000000E+00
-- Polarization
exterior_polarType_1 = 0
-- Magnitude of planewave
exterior_magnitude_1 = 1.000000000000000E+00
-- Phase of planewave
exterior_phase_1 = 0.000000000000000E+00

