SFEMaNS  version 5.3
Reference documentation for SFEMaNS
initialization Module Reference

Functions/Subroutines

subroutine, public initial (vv_mesh_out, pp_mesh_out, H_mesh_out, phi_mesh_out, temp_mesh_out, interface_H_phi_out, interface_H_mu_out, list_mode_out, un_out, pn_out, Hn_out, Bn_out, phin_out, v_to_Max_out, vol_heat_capacity_field_out, temperature_diffusivity_field_out, mu_H_field_out, sigma_field_out, time_out, m_max_c_out, comm_one_d_out, comm_one_d_ns_out, comm_one_d_temp_out, tempn_out, level_set_out, density_out, der_un_out)
 
subroutine, public run_sfemans (time_in, it)
 
subroutine zero_out_modes
 
subroutine prepare_zero_out_modes (list_mode, list_mode_to_zero_out, select_mode)
 
subroutine projection_velocity (mesh, vn, connectivity_structure, coupling_variable)
 
subroutine projection_temperature (mesh, vn, connectivity_structure, coupling_variable)
 
subroutine projection_mag_field (mesh, vn, connectivity_structure, if_restriction, coupling_variable)
 
subroutine, public save_run (it, freq_restart)
 
subroutine init
 
subroutine, public prodmat_maxwell_int_by_parts (vect_in, vect_out, ndim, i)
 
subroutine sfemansinitialize
 
subroutine compute_local_mesh_size (mesh)
 
subroutine compute_local_mesh_size_level_set
 

Variables

logical if_momentum
 
logical if_mass
 
logical if_induction
 
logical if_energy
 
type(mesh_type), target pp_mesh
 
type(mesh_type), target vv_mesh
 
type(petsc_csr_lavv_1_la
 
type(petsc_csr_lapp_1_la
 
type(petsc_csr_lavv_3_la
 
real(kind=8), dimension(:,:,:), allocatable, target un
 
real(kind=8), dimension(:,:,:), allocatable, target un_m1
 
type(dyn_real_array_three), dimension(:), allocatable, target der_un
 
real(kind=8), dimension(:,:,:), allocatable, target pn
 
real(kind=8), dimension(:,:,:), allocatable, target pn_m1
 
type(dyn_real_array_three), dimension(:), allocatable der_pn
 
real(kind=8), dimension(:,:,:), allocatable incpn
 
real(kind=8), dimension(:,:,:), allocatable incpn_m1
 
real(kind=8), dimension(:,:,:,:), allocatable, target level_set
 
real(kind=8), dimension(:,:,:,:), allocatable, target level_set_m1
 
real(kind=8), dimension(:,:,:), allocatable, target density
 
real(kind=8), dimension(:,:,:), allocatable, target density_m1
 
real(kind=8), dimension(:,:,:), allocatable, target density_m2
 
real(kind=8), dimension(:,:), allocatable visc_entro_level
 
real(kind=8) max_vel
 
type(mesh_type), target temp_mesh
 
type(petsc_csr_latemp_1_la
 
real(kind=8), dimension(:,:,:), allocatable, target tempn
 
real(kind=8), dimension(:,:,:), allocatable, target tempn_m1
 
real(kind=8), dimension(:), allocatable, target vol_heat_capacity_field
 
real(kind=8), dimension(:), allocatable, target temperature_diffusivity_field
 
real(kind=8), dimension(:,:,:), allocatable, target hn
 
real(kind=8), dimension(:,:,:), allocatable, target hn1
 
real(kind=8), dimension(:,:,:), allocatable, target hext
 
real(kind=8), dimension(:,:,:), allocatable, target phin
 
real(kind=8), dimension(:,:,:), allocatable, target phin1
 
real(kind=8), dimension(:,:,:), allocatable, target bn
 
real(kind=8), dimension(:,:,:), allocatable, target bn1
 
real(kind=8), dimension(:,:,:), allocatable, target bext
 
real(kind=8), dimension(:), allocatable, target sigma_field
 
real(kind=8), dimension(:), allocatable, target mu_h_field
 
type(mesh_type), target h_mesh
 
type(mesh_type), target phi_mesh
 
type(mesh_type), target pmag_mesh
 
type(petsc_csr_lala_h
 
type(petsc_csr_lala_pmag
 
type(petsc_csr_lala_phi
 
type(petsc_csr_lala_mhd
 
type(interface_type), target interface_h_mu
 
type(interface_type), target interface_h_phi
 
type(periodic_typeh_phi_per
 
type(periodic_typevvrt_per
 
type(periodic_typevvrtz_per
 
type(periodic_typevvz_per
 
type(periodic_typepp_per
 
type(periodic_typetemp_per
 
type(periodic_typelevel_set_per
 
real(kind=8), dimension(:,:,:), allocatable, target v_to_max
 
real(kind=8), dimension(:,:,:), allocatable h_to_ns
 
real(kind=8), dimension(:,:,:), allocatable b_to_ns
 
real(kind=8), dimension(:,:,:), allocatable t_to_ns
 
real(kind=8), dimension(:,:,:), allocatable, target v_to_energy
 
real(kind=8), dimension(:,:,:), allocatable, target h_to_energy
 
real(kind=8), dimension(:,:,:), allocatable, target pdt_h_to_energy
 
integer, dimension(:), allocatable jj_v_to_h
 
integer, dimension(:), allocatable jj_v_to_temp
 
integer, dimension(:), allocatable, target list_mode
 
integer m_max_c
 
real(kind=8) time
 
real(kind=8) r_fourier
 
integer index_fourier
 

Function/Subroutine Documentation

subroutine initialization::compute_local_mesh_size ( type(mesh_type mesh)
private

Definition at line 1600 of file initialization.f90.

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine initialization::compute_local_mesh_size_level_set ( )

Definition at line 1648 of file initialization.f90.

Here is the caller graph for this function:

subroutine initialization::init ( )

Definition at line 468 of file initialization.f90.

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine, public initialization::initial ( type(mesh_type), pointer  vv_mesh_out,
type(mesh_type), pointer  pp_mesh_out,
type(mesh_type), pointer  H_mesh_out,
type(mesh_type), pointer  phi_mesh_out,
type(mesh_type), pointer  temp_mesh_out,
type(interface_type), pointer  interface_H_phi_out,
type(interface_type), pointer  interface_H_mu_out,
integer, dimension(:), pointer  list_mode_out,
real(kind=8), dimension(:,:,:), pointer  un_out,
real(kind=8), dimension(:,:,:), pointer  pn_out,
real(kind=8), dimension(:,:,:), pointer  Hn_out,
real(kind=8), dimension(:,:,:), pointer  Bn_out,
real(kind=8), dimension(:,:,:), pointer  phin_out,
real(kind=8), dimension(:,:,:), pointer  v_to_Max_out,
real(kind=8), dimension(:), pointer  vol_heat_capacity_field_out,
real(kind=8), dimension(:), pointer  temperature_diffusivity_field_out,
real(kind=8), dimension(:), pointer  mu_H_field_out,
real(kind=8), dimension(:), pointer  sigma_field_out,
real(kind=8)  time_out,
integer  m_max_c_out,
pointer  comm_one_d_out,
pointer  comm_one_d_ns_out,
pointer  comm_one_d_temp_out,
real(kind=8), dimension(:,:,:), pointer  tempn_out,
real(kind=8), dimension(:,:,:,:), pointer  level_set_out,
real(kind=8), dimension(:,:,:), pointer  density_out,
type(dyn_real_array_three), dimension(:), pointer  der_un_out 
)

Definition at line 120 of file initialization.f90.

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine initialization::prepare_zero_out_modes ( integer, dimension(:)  list_mode,
integer, dimension(:), intent(in)  list_mode_to_zero_out,
integer, dimension(:), pointer  select_mode 
)

Definition at line 323 of file initialization.f90.

Here is the caller graph for this function:

subroutine, public initialization::prodmat_maxwell_int_by_parts ( real(kind=8), dimension(ndim)  vect_in,
real(kind=8), dimension(ndim)  vect_out,
integer  ndim,
integer  i 
)

Definition at line 1502 of file initialization.f90.

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine initialization::projection_mag_field ( type(mesh_type), intent(in)  mesh,
real(kind=8), dimension(:,:,:), intent(in)  vn,
integer, dimension(:), intent(in)  connectivity_structure,
logical, intent(in)  if_restriction,
real(kind=8), dimension(:,:,:), intent(out)  coupling_variable 
)
private

Definition at line 394 of file initialization.f90.

Here is the caller graph for this function:

subroutine initialization::projection_temperature ( type(mesh_type), intent(in)  mesh,
real(kind=8), dimension(:,:,:), intent(in)  vn,
integer, dimension(:), intent(in)  connectivity_structure,
real(kind=8), dimension(:,:,:), intent(out)  coupling_variable 
)

Definition at line 376 of file initialization.f90.

Here is the caller graph for this function:

subroutine initialization::projection_velocity ( type(mesh_type), intent(in)  mesh,
real(kind=8), dimension(:,:,:), intent(in)  vn,
integer, dimension(:), intent(in)  connectivity_structure,
real(kind=8), dimension(:,:,:), intent(out)  coupling_variable 
)

Definition at line 350 of file initialization.f90.

Here is the caller graph for this function:

subroutine, public initialization::run_sfemans ( real(kind=8), intent(in)  time_in,
integer  it 
)

Definition at line 176 of file initialization.f90.

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine, public initialization::save_run ( integer, intent(in)  it,
integer, intent(in)  freq_restart 
)

Definition at line 429 of file initialization.f90.

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine initialization::sfemansinitialize ( )

Definition at line 1559 of file initialization.f90.

Here is the caller graph for this function:

subroutine initialization::zero_out_modes ( )

Definition at line 281 of file initialization.f90.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

real(kind=8), dimension(:,:,:), allocatable initialization::b_to_ns
private

Definition at line 78 of file initialization.f90.

real(kind=8), dimension(:,:,:), allocatable, target initialization::bext
private

Definition at line 58 of file initialization.f90.

real(kind=8), dimension(:,:,:), allocatable, target initialization::bn
private

Definition at line 58 of file initialization.f90.

real(kind=8), dimension(:,:,:), allocatable, target initialization::bn1
private

Definition at line 58 of file initialization.f90.

real(kind=8), dimension(:,:,:), allocatable, target initialization::density
private

Definition at line 41 of file initialization.f90.

real(kind=8), dimension(:,:,:), allocatable, target initialization::density_m1
private

Definition at line 41 of file initialization.f90.

real(kind=8), dimension(:,:,:), allocatable, target initialization::density_m2
private

Definition at line 41 of file initialization.f90.

type(dyn_real_array_three), dimension(:), allocatable initialization::der_pn
private

Definition at line 33 of file initialization.f90.

type(dyn_real_array_three), dimension(:), allocatable, target initialization::der_un
private

Definition at line 30 of file initialization.f90.

type(mesh_type), target initialization::h_mesh
private

Definition at line 60 of file initialization.f90.

type(periodic_type) initialization::h_phi_per
private

Definition at line 66 of file initialization.f90.

real(kind=8), dimension(:,:,:), allocatable, target initialization::h_to_energy
private

Definition at line 82 of file initialization.f90.

real(kind=8), dimension(:,:,:), allocatable initialization::h_to_ns
private

Definition at line 77 of file initialization.f90.

real(kind=8), dimension(:,:,:), allocatable, target initialization::hext
private

Definition at line 57 of file initialization.f90.

real(kind=8), dimension(:,:,:), allocatable, target initialization::hn
private

Definition at line 57 of file initialization.f90.

real(kind=8), dimension(:,:,:), allocatable, target initialization::hn1
private

Definition at line 57 of file initialization.f90.

logical initialization::if_energy
private

Definition at line 22 of file initialization.f90.

logical initialization::if_induction
private

Definition at line 22 of file initialization.f90.

logical initialization::if_mass
private

Definition at line 22 of file initialization.f90.

logical initialization::if_momentum
private

Definition at line 22 of file initialization.f90.

real(kind=8), dimension(:,:,:), allocatable initialization::incpn
private

Definition at line 35 of file initialization.f90.

real(kind=8), dimension(:,:,:), allocatable initialization::incpn_m1
private

Definition at line 35 of file initialization.f90.

integer initialization::index_fourier
private

Definition at line 99 of file initialization.f90.

type(interface_type), target initialization::interface_h_mu
private

Definition at line 62 of file initialization.f90.

type(interface_type), target initialization::interface_h_phi
private

Definition at line 62 of file initialization.f90.

integer, dimension(:), allocatable initialization::jj_v_to_h
private

Definition at line 87 of file initialization.f90.

integer, dimension(:), allocatable initialization::jj_v_to_temp
private

Definition at line 88 of file initialization.f90.

type(petsc_csr_la) initialization::la_h
private

Definition at line 61 of file initialization.f90.

type(petsc_csr_la) initialization::la_mhd
private

Definition at line 61 of file initialization.f90.

type(petsc_csr_la) initialization::la_phi
private

Definition at line 61 of file initialization.f90.

type(petsc_csr_la) initialization::la_pmag
private

Definition at line 61 of file initialization.f90.

real(kind=8), dimension(:,:,:,:), allocatable, target initialization::level_set
private

Definition at line 39 of file initialization.f90.

real(kind=8), dimension(:,:,:,:), allocatable, target initialization::level_set_m1
private

Definition at line 39 of file initialization.f90.

type(periodic_type) initialization::level_set_per
private

Definition at line 72 of file initialization.f90.

integer, dimension(:), allocatable, target initialization::list_mode
private

Definition at line 92 of file initialization.f90.

integer initialization::m_max_c
private

Definition at line 93 of file initialization.f90.

real(kind=8) initialization::max_vel
private

Definition at line 45 of file initialization.f90.

real(kind=8), dimension(:), allocatable, target initialization::mu_h_field
private

Definition at line 59 of file initialization.f90.

real(kind=8), dimension(:,:,:), allocatable, target initialization::pdt_h_to_energy
private

Definition at line 82 of file initialization.f90.

type(mesh_type), target initialization::phi_mesh
private

Definition at line 60 of file initialization.f90.

real(kind=8), dimension(:,:,:), allocatable, target initialization::phin
private

Definition at line 57 of file initialization.f90.

real(kind=8), dimension(:,:,:), allocatable, target initialization::phin1
private

Definition at line 57 of file initialization.f90.

type(mesh_type), target initialization::pmag_mesh
private

Definition at line 60 of file initialization.f90.

real(kind=8), dimension(:,:,:), allocatable, target initialization::pn
private

Definition at line 32 of file initialization.f90.

real(kind=8), dimension(:,:,:), allocatable, target initialization::pn_m1
private

Definition at line 32 of file initialization.f90.

type(petsc_csr_la) initialization::pp_1_la
private

Definition at line 26 of file initialization.f90.

type(mesh_type), target initialization::pp_mesh
private

Definition at line 25 of file initialization.f90.

type(periodic_type) initialization::pp_per
private

Definition at line 70 of file initialization.f90.

real(kind=8) initialization::r_fourier
private

Definition at line 98 of file initialization.f90.

real(kind=8), dimension(:), allocatable, target initialization::sigma_field
private

Definition at line 59 of file initialization.f90.

real(kind=8), dimension(:,:,:), allocatable initialization::t_to_ns
private

Definition at line 80 of file initialization.f90.

type(petsc_csr_la) initialization::temp_1_la
private

Definition at line 50 of file initialization.f90.

type(mesh_type), target initialization::temp_mesh
private

Definition at line 49 of file initialization.f90.

type(periodic_type) initialization::temp_per
private

Definition at line 71 of file initialization.f90.

real(kind=8), dimension(:), allocatable, target initialization::temperature_diffusivity_field
private

Definition at line 53 of file initialization.f90.

real(kind=8), dimension(:,:,:), allocatable, target initialization::tempn
private

Definition at line 51 of file initialization.f90.

real(kind=8), dimension(:,:,:), allocatable, target initialization::tempn_m1
private

Definition at line 51 of file initialization.f90.

real(kind=8) initialization::time
private

Definition at line 97 of file initialization.f90.

real(kind=8), dimension(:,:,:), allocatable, target initialization::un
private

Definition at line 28 of file initialization.f90.

real(kind=8), dimension(:,:,:), allocatable, target initialization::un_m1
private

Definition at line 28 of file initialization.f90.

real(kind=8), dimension(:,:,:), allocatable, target initialization::v_to_energy
private

Definition at line 81 of file initialization.f90.

real(kind=8), dimension(:,:,:), allocatable, target initialization::v_to_max
private

Definition at line 76 of file initialization.f90.

real(kind=8), dimension(:,:), allocatable initialization::visc_entro_level
private

Definition at line 43 of file initialization.f90.

real(kind=8), dimension(:), allocatable, target initialization::vol_heat_capacity_field
private

Definition at line 52 of file initialization.f90.

type(petsc_csr_la) initialization::vv_1_la
private

Definition at line 26 of file initialization.f90.

type(petsc_csr_la) initialization::vv_3_la
private

Definition at line 27 of file initialization.f90.

type(mesh_type), target initialization::vv_mesh
private

Definition at line 25 of file initialization.f90.

type(periodic_type) initialization::vvrt_per
private

Definition at line 67 of file initialization.f90.

type(periodic_type) initialization::vvrtz_per
private

Definition at line 68 of file initialization.f90.

type(periodic_type) initialization::vvz_per
private

Definition at line 69 of file initialization.f90.