Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Created empty symba_classes module
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Jul 8, 2021
1 parent ceade10 commit 0f7b3a1
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 2 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ SWIFTEST_MODULES = swiftest_globals.f90 \
whm_classes.f90 \
rmvs_classes.f90 \
helio_classes.f90 \
symba_classes.f90 \
util.f90 \
module_nrutil.f90 \
swiftest.f90
Expand Down
1 change: 0 additions & 1 deletion src/modules/helio_classes.f90
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ module helio_classes

!! Helio massive body particle class
type, public, extends(swiftest_pl) :: helio_pl
real(DP), dimension(:,:), allocatable :: ahi !! heliocentric acceleration due to interactions
contains
procedure, public :: vh2vb => helio_coord_vh2vb_pl !! Convert massive bodies from heliocentric to barycentric coordinates (velocity only)
procedure, public :: vb2vh => helio_coord_vb2vh_pl !! Convert massive bodies from barycentric to heliocentric coordinates (velocity only)
Expand Down
2 changes: 1 addition & 1 deletion src/modules/swiftest.f90
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module swiftest
use whm_classes
use rmvs_classes
use helio_classes
!use symba_classes
use symba_classes
use util
use module_nrutil
!use advisor_annotate
Expand Down
43 changes: 43 additions & 0 deletions src/modules/symba_classes.f90
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
module symba_classes
!! author: The Purdue Swiftest Team - David A. Minton, Carlisle A. Wishard, Jennifer L.L. Pouplin, and Jacob R. Elliott
!!
!! Definition of classes and methods specific to the Democratic Heliocentric Method
!! Adapted from David E. Kaufmann's Swifter routine: helio.f90
use swiftest_globals
use helio_classes, only : helio_cb, helio_pl, helio_tp, helio_nbody_system
implicit none


!********************************************************************************************************************************
! symba_nbody_system class definitions and method interfaces
!********************************************************************************************************************************
type, public, extends(helio_nbody_system) :: symba_nbody_system
contains
end type symba_nbody_system

!********************************************************************************************************************************
! symba_cb class definitions and method interfaces
!*******************************************************************************************************************************
!> Helio central body particle class
type, public, extends(helio_cb) :: symba_cb
contains
end type symba_cb

!********************************************************************************************************************************
! symba_pl class definitions and method interfaces
!*******************************************************************************************************************************

!! Helio massive body particle class
type, public, extends(helio_pl) :: symba_pl
contains
end type symba_pl

!********************************************************************************************************************************
! symba_tp class definitions and method interfaces
!*******************************************************************************************************************************

!! Helio test particle class
type, public, extends(helio_tp) :: symba_tp
contains
end type symba_tp
end module symba_classes

0 comments on commit 0f7b3a1

Please sign in to comment.