3#include "../afivo/src/cpp_macros.h"
39 procedure(mg_func_lsf),
pointer ::
user_lsf => null()
51 type(af_t),
intent(in) :: tree
52 character(len=*),
intent(in) :: filename
53 integer,
intent(in) :: out_cnt
56 subroutine log_vars(tree, n_vars, var_names, var_values)
58 type(af_t),
intent(in) :: tree
59 integer,
intent(out) :: n_vars
60 character(len=name_len),
intent(inout) :: var_names(user_max_log_vars)
61 real(dp),
intent(inout) :: var_values(user_max_log_vars)
66 type(box_t),
intent(in) :: box
67 integer,
intent(in) :: ijk
73 type(af_t),
intent(in) :: tree
74 real(dp),
intent(in) :: time
80 type(af_t),
intent(in) :: tree
81 real(dp),
intent(in) :: time
86 type(af_t),
intent(in) :: tree
87 real(dp),
intent(in) :: time
This module contains all the methods that users can customize.
integer, parameter user_max_log_vars
procedure(mg_func_lsf), pointer user_lsf_bc
Function to get boundary value for level set function.
procedure(gas_dens_func), pointer user_gas_density
To set a user-defined gas number density.
procedure(field_func), pointer user_field_amplitude
To set the field amplitude manually.
procedure(generic_subr), pointer user_generic_method
Generic procedure that is called every time step.
procedure(af_subr), pointer user_initial_conditions
If defined, call this routine after setting initial conditions.
procedure(log_subr), pointer user_write_log
To write a custom log file.
procedure(af_subr_bc), pointer user_potential_bc
To set custom boundary conditions for the electric potential.
procedure(log_vars), pointer user_log_variables
To add entries to the log file.
procedure(mg_func_lsf), pointer user_lsf
Custom level-set function to define an electrode.
procedure(af_subr_ref), pointer user_refine
User-defined refinement routine.
procedure(af_subr), pointer user_new_pulse_conditions
If defined, call this routine after a new voltage pulse starts.