Skip to content

Commit

Permalink
MoM implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
bgin authored Dec 20, 2024
1 parent 324522a commit ae5689d
Show file tree
Hide file tree
Showing 10 changed files with 9,902 additions and 0 deletions.
3,726 changes: 3,726 additions & 0 deletions MoM/PMCHW_RWG_mod.f90

Large diffs are not rendered by default.

487 changes: 487 additions & 0 deletions MoM/RWG_basis_mod.f90

Large diffs are not rendered by default.

64 changes: 64 additions & 0 deletions MoM/constants_mod.f90
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
module constants_mod
!!==============================================================================
! This module defines various mathematical constants
!
!
! Last edited: November 27th 2020.
!!==============================================================================

!!==============!!
! Use statements !
!================!============================================================
use working_precision, only: wp

implicit none


!!=================================!!
! Public types/procedures/constants !
!===================================!=========================================

! Constants
complex(wp), parameter, public :: I_IMAG = cmplx(0._wp, 1._wp)
complex(wp), parameter, public :: ZERO_CMPLX = cmplx(0._wp, 0._wp)
real(wp) , parameter, public :: PERMEABILITY_VACUUM = 1.25663706212e-6_wp
real(wp) , parameter, public :: PERMITIVITY_VACUUM = 8.8541878128e-12_wp
real(wp) , parameter, public :: LIGHTSPEED_VACUUM = 299792458._wp
real(wp) , parameter, public :: PI = 4._wp*atan(1._wp)
real(wp) , parameter, public :: PI4_INV = 1._wp/(4._wp*PI)
real(wp) , parameter, public :: ZERO = 0._wp
real(wp) , parameter, public :: UNITY = 1._wp

!!==================================!!
! Private types/procedures/constants !
!====================================!========================================
private

!!------------------------!!
! Derived type definitions !
!--------------------------!--------------------------------------------------


!=======!=========================!==========================================!
contains ! /\/\/\/\/\/\/\/\/\/\/\/\!/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\!
!=======!=========================!==========================================!


!!=================!!
! Public procedures !
!===================!=========================================================


!!------------!!
! Constructors !
!--------------!--------------------------------------------------------------


!!==================================!!
! RWG_basis_type internal procedures !
!====================================!========================================
!!------------!!
! Initialisers !
!--------------!--------------------------------------------------------------

end module constants_mod
Loading

0 comments on commit ae5689d

Please sign in to comment.