WARPXM
v1.10.0
Loading...
Searching...
No Matches
Namespaces
|
Variables
light_prop.py File Reference
Namespaces
namespace
examples
namespace
examples.dg
namespace
examples.dg.maxwell
namespace
examples.dg.maxwell.light_prop
Variables
str
examples.dg.maxwell.light_prop.torder
= 'SSPRK3'
str
examples.dg.maxwell.light_prop.sorder
= 'thirdOrder'
int
examples.dg.maxwell.light_prop.skin_depth_norm
= 1/3
int
examples.dg.maxwell.light_prop.omega_p_norm
= 5
warpy
examples.dg.maxwell.light_prop.mesh
warpy
examples.dg.maxwell.light_prop.field
tuple
examples.dg.maxwell.light_prop.energy_factor
= (omega_p_norm*skin_depth_norm)
tuple
examples.dg.maxwell.light_prop.E0
= energy_factor
int
examples.dg.maxwell.light_prop.B0
= 1
examples.dg.maxwell.light_prop.else
:
warpy
examples.dg.maxwell.light_prop.Ey_ic
warpy
examples.dg.maxwell.light_prop.Bz_ic
warpy
examples.dg.maxwell.light_prop.Ez_ic
warpy
examples.dg.maxwell.light_prop.By_ic
warpy
examples.dg.maxwell.light_prop.null_func
=
warpy.functions.set_to
(name='null', value=0)
list
examples.dg.maxwell.light_prop.applicators
list
examples.dg.maxwell.light_prop.apps
warpy
examples.dg.maxwell.light_prop.writer
warpy
examples.dg.maxwell.light_prop.spatial_solver
= warpy.spatial_solvers.dg(name="dg", spatial_order=sorder, applications=apps)
warpy
examples.dg.maxwell.light_prop.temporal_solver
int
examples.dg.maxwell.light_prop.dt
= 1e-4
warpy
examples.dg.maxwell.light_prop.dt_controller
=
warpy.dt_calc.fixed_dt
(init_dt=dt)
warpy
examples.dg.maxwell.light_prop.sim
examples.dg.maxwell.light_prop.gen_xdmf
examples.dg.maxwell.light_prop.True
examples.dg.maxwell.light_prop.detect_nonscalar
examples.dg.maxwell.light_prop.try
:
warpy
examples.dg.maxwell.light_prop.configs
= warpy.load_configs('light_prop_config.py')
warpy
examples.dg.maxwell.light_prop.dset
list
examples.dg.maxwell.light_prop.sd
= [sd for sd in dset.subdomains if sd.name=='domain'][0]
list
examples.dg.maxwell.light_prop.B_f
= [f for f in dset.fields[0] if f.name=='B'][0]
examples.dg.maxwell.light_prop.coords
examples.dg.maxwell.light_prop.connectivity
Triangulation
examples.dg.maxwell.light_prop.pmesh
= Triangulation(coords[:,0],coords[:,1],connectivity)
list
examples.dg.maxwell.light_prop.By_node
= B_f.read_data()[1].flatten()
examples.dg.maxwell.light_prop.shading
examples.dg.maxwell.light_prop.cmap
examples
dg
maxwell
light_prop.py
Generated by
1.9.6