afivo-streamer 1.1
1D/2D/3D streamer simulations with AMR
Loading...
Searching...
No Matches
Modules | Functions/Subroutines | Variables
m_field.f90 File Reference

Go to the source code of this file.

Modules

module  m_field
 Module to compute electric fields.
 

Functions/Subroutines

subroutine, public m_field::field_initialize (tree, cfg, mg)
 Initialize this module.
 
subroutine, public m_field::field_set_rhs (tree, s_in)
 
subroutine, public m_field::field_compute (tree, mg, s_in, time, have_guess)
 Compute electric field on the tree. First perform multigrid to get electric potential, then take numerical gradient to geld field.
 
subroutine, public m_field::field_from_potential (tree, mg)
 Compute field from potential.
 
subroutine, public m_field::field_set_voltage (tree, time)
 Set the current voltage.
 
subroutine, public m_field::field_bc_homogeneous (box, nb, iv, coords, bc_val, bc_type)
 Dirichlet boundary conditions for the potential in the last dimension, Neumann zero boundary conditions in the other directions.
 
subroutine, public m_field::field_compute_energy (tree, field_energy)
 Compute total field energy in Joule, defined as the volume integral over 1/2 * epsilon * E^2.
 
real(dp) function, dimension(dtimes(1:box%n_cell), ndim), public m_field::field_get_e_vector (box)
 

Variables

real(dp), public, protected m_field::field_pulse_period = huge_real
 Time of one complete voltage pulse.
 
real(dp), public, protected m_field::current_voltage = 0.0_dp
 The current applied voltage.