bssn_variables Submodule

Implementation of the methods of TYPE bssn that compute the \(\mathrm{BSSNOK}\) variables

FT 23.10.2020

Updated to support mesh refinement

FT 26.03.2021



Uses

  • module~~bssn_variables~~UsesGraph module~bssn_variables bssn_variables module~bssn_formulation bssn_formulation module~bssn_variables->module~bssn_formulation mesh_refinement mesh_refinement module~bssn_formulation->mesh_refinement module~id_base id_base module~bssn_formulation->module~id_base module~sph_particles sph_particles module~bssn_formulation->module~sph_particles module~standard_tpo_formulation standard_tpo_formulation module~bssn_formulation->module~standard_tpo_formulation module~utility utility module~bssn_formulation->module~utility timing timing module~bssn_formulation->timing module~id_base->module~utility module~id_base->timing module~sph_particles->module~id_base module~sph_particles->module~utility module~sph_particles->timing module~standard_tpo_formulation->mesh_refinement module~standard_tpo_formulation->module~id_base module~standard_tpo_formulation->module~sph_particles module~standard_tpo_formulation->module~utility module~standard_tpo_formulation->timing constants constants module~utility->constants matrix matrix module~utility->matrix

Contents


Subroutines

subroutine standard_tpo_to_bssn(l, nx, ny, nz, dx, dy, dz, ngx, ngy, ngz, gxx, gxy, gxz, gyy, gyz, gzz, kxx, kxy, kxz, kyy, kyz, kzz, alp, betax, betay, betaz, dtalp, dtbetax, dtbetay, dtbetaz, r)

Compute the BSSN variables starting from the standard 3+1 (aka ADM) variables This is basically a version of ADM_to_BSSN from MODULE McLachlan_refine that allows for array arguments.

Read more…

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: l
integer, intent(in) :: nx
integer, intent(in) :: ny
integer, intent(in) :: nz
double precision, intent(in) :: dx
double precision, intent(in) :: dy
double precision, intent(in) :: dz
integer, intent(in) :: ngx
integer, intent(in) :: ngy
integer, intent(in) :: ngz
double precision, intent(in) :: gxx(nx,ny,nz)
double precision, intent(in) :: gxy(nx,ny,nz)
double precision, intent(in) :: gxz(nx,ny,nz)
double precision, intent(in) :: gyy(nx,ny,nz)
double precision, intent(in) :: gyz(nx,ny,nz)
double precision, intent(in) :: gzz(nx,ny,nz)
double precision, intent(in) :: kxx(nx,ny,nz)
double precision, intent(in) :: kxy(nx,ny,nz)
double precision, intent(in) :: kxz(nx,ny,nz)
double precision, intent(in) :: kyy(nx,ny,nz)
double precision, intent(in) :: kyz(nx,ny,nz)
double precision, intent(in) :: kzz(nx,ny,nz)
double precision, intent(in) :: alp(nx,ny,nz)
double precision, intent(in) :: betax(nx,ny,nz)
double precision, intent(in) :: betay(nx,ny,nz)
double precision, intent(in) :: betaz(nx,ny,nz)
double precision, intent(in) :: dtalp(nx,ny,nz)
double precision, intent(in) :: dtbetax(nx,ny,nz)
double precision, intent(in) :: dtbetay(nx,ny,nz)
double precision, intent(in) :: dtbetaz(nx,ny,nz)
double precision, intent(in) :: r(nx,ny,nz)

Module Procedures

module procedure compute_and_print_bssn_variables module subroutine compute_and_print_bssn_variables(this, namefile)

Compute, stores and prints the BSSN variables to a binary file to be read by the evolution code SPHINCS_BSSN

Read more…

Arguments

Type IntentOptional Attributes Name
class(bssn), intent(inout) :: this

bssn object to which this PROCEDURE is bound

character(len=*), intent(inout), optional :: namefile