DERIVED TYPE ode_output: handles output for PDE/ODE simulations More...
Data Types | |
interface | assemble |
assemble the output (finalise construction) More... | |
interface | clear |
interface | ode_output |
The type ode_output handles output for ODE simulations. More... | |
interface | |
print a short description More... | |
interface | set |
set the output parameters More... | |
Functions/Subroutines | |
subroutine | ode_output_clear (out) |
destructor for ode_output More... | |
type(ode_output) function | ode_output_create (t0, T, N) |
Constructor for the type ode_output More... | |
subroutine | ode_output_set (out, verb, Ytn_period, Vtn_period, Vtn_rec_prd, Vtn_plot, act_type, act_rec, act_plot, stop_if_dep, act_Vth, Vtn_file, act_file, outDir, pos, xn_list, Vxn_period, Vxn_plot, Vxn_file) |
set the following parameters = optional see ode_output_mod::ode_output for the default values More... | |
subroutine | ode_output_assemble (out, dt, X_h) |
assemble the output, follows set(out, ...) More... | |
integer function | def_nv (method) |
size of V required to compute act More... | |
subroutine | ode_output_print (out) |
print ode_output More... | |
subroutine, public | output_proc (out, time, s, final) |
Pre-defined output for ODE resolution More... | |
subroutine | ode_output_last_output (out) |
ends computation output More... | |
subroutine | plot_vtn (out) |
Plot V(x, tn) "co$outDir/vn.dat", n=1..Ytn_cpt. More... | |
subroutine | plot_vtn_gnuplot (out) |
plot ../temp/vn.dat More... | |
subroutine | plot_vtn_gmsh (out) |
subroutine | plot_vxn_gnuplot (out) |
subroutine | plot_act (out) |
plot activation times More... | |
subroutine | plot_act_gnuplot (out) |
subroutine | plot_act_gmsh (out) |
subroutine | comp_act_0 (act, V, time, Vth) |
Computation of activation times : cut off. More... | |
subroutine | comp_act_1 (act, V, time, dt, Vth) |
Computation of activation times : linear interp. More... | |
subroutine | comp_act_2 (act, V, time, dt, Vth) |
Computation of activation times : quadradic interp. More... | |
subroutine | comp_act_4 (act, V, time, dt, Vth) |
Computation of activation times : bi-quadradic interp. More... | |
real(rp) function, public | celerity_l2_dist (u1, u2, X_h, qdm, weight) |
returns || (c(u1) - c(u2)) * weight(x) ||_L2() More... | |
real(rp) function, public | celerity_l2_norm (u1, X_h, qdm, weight) |
returns || c(u1) * weight(x) ||_L2 More... | |
DERIVED TYPE ode_output: handles output for PDE/ODE simulations
The type ode_output conatins a procedural element
that can be passed as an argument to an ode_solver.
It is constructed in 3 steps
Tutorial examples:
In these examples, see the subroutine 'output_proc' or 'cardio_output'.
real(rp) function, public ode_output_mod::celerity_l2_dist | ( | real(rp), dimension(:), intent(in) | u1, |
real(rp), dimension(:), intent(in) | u2, | ||
type(fespace), intent(in) | X_h, | ||
type(quadmesh), intent(in) | qdm, | ||
procedure(r3tor) | weight | ||
) |
returns || (c(u1) - c(u2)) * weight(x) ||_L2()
c = wafe front celerity
u1 and u2 are activation times for the finite element space X_h
integration method is described by qdm
weight allows to compute the norm on a subset of Omega
Definition at line 1211 of file ode_output_mod.F90.
real(rp) function, public ode_output_mod::celerity_l2_norm | ( | real(rp), dimension(:), intent(in) | u1, |
type(fespace), intent(in) | X_h, | ||
type(quadmesh), intent(in) | qdm, | ||
procedure(r3tor) | weight | ||
) |
returns || c(u1) * weight(x) ||_L2
c = wafe front celerity
u1 = activation times for the finite element space X_h
integration method is described by qdm
weight allows to compute the norm on a subset of Omega
Definition at line 1249 of file ode_output_mod.F90.
|
private |
Computation of activation times : cut off.
Definition at line 1017 of file ode_output_mod.F90.
|
private |
Computation of activation times : linear interp.
Definition at line 1040 of file ode_output_mod.F90.
|
private |
Computation of activation times : quadradic interp.
Definition at line 1065 of file ode_output_mod.F90.
|
private |
Computation of activation times : bi-quadradic interp.
Definition at line 1101 of file ode_output_mod.F90.
|
private |
size of V required to compute act
Definition at line 481 of file ode_output_mod.F90.
|
private |
assemble the output, follows set(out, ...)
Parameters :
To run before any simulation
Definition at line 392 of file ode_output_mod.F90.
|
private |
destructor for ode_output
Definition at line 227 of file ode_output_mod.F90.
|
private |
Constructor for the type ode_output
Definition at line 256 of file ode_output_mod.F90.
|
private |
ends computation output
Definition at line 769 of file ode_output_mod.F90.
|
private |
print ode_output
Definition at line 506 of file ode_output_mod.F90.
|
private |
set the following parameters = optional see ode_output_mod::ode_output for the default values
Definition at line 315 of file ode_output_mod.F90.
subroutine, public ode_output_mod::output_proc | ( | class(ode_output), intent(inout) | out, |
real(rp), intent(in) | time, | ||
type(ode_solution), intent(in) | s, | ||
logical, intent(out) | final | ||
) |
Pre-defined output for ODE resolution
This routine realises the output for ODE resolution relatively to the output setting in an ode_output
Definition at line 570 of file ode_output_mod.F90.
|
private |
plot activation times
Definition at line 931 of file ode_output_mod.F90.
|
private |
|
private |
Definition at line 941 of file ode_output_mod.F90.
|
private |
Plot V(x, tn) "co$outDir/vn.dat", n=1..Ytn_cpt.
Definition at line 789 of file ode_output_mod.F90.
|
private |
|
private |
plot ../temp/vn.dat
Definition at line 802 of file ode_output_mod.F90.
|
private |