This repository was archived by the owner on Aug 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Major restructuring of the fragmentation model. I know call it Fraggl…
…e and it is fully object oriented.
- Loading branch information
Showing
22 changed files
with
2,124 additions
and
1,778 deletions.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| submodule(fraggle_classes) s_fraggle_placeholder | ||
| use swiftest | ||
|
|
||
| contains | ||
|
|
||
| !> The following interfaces are placeholders intended to satisfy the required abstract methods given by the parent class | ||
| module subroutine fraggle_placeholder_accel(self, system, param, t, lbeg) | ||
| implicit none | ||
| class(fraggle_fragments), intent(inout) :: self !! Fraggle fragment system object | ||
| class(swiftest_nbody_system), intent(inout) :: system !! Swiftest nbody system object | ||
| class(swiftest_parameters), intent(in) :: param !! Current run configuration parameters | ||
| real(DP), intent(in) :: t !! Current simulation time | ||
| logical, intent(in) :: lbeg !! Optional argument that determines whether or not this is the beginning or end of the step | ||
| write(*,*) "The type-bound procedure 'accel' is not defined for type fraggle_fragments" | ||
| return | ||
| end subroutine fraggle_placeholder_accel | ||
|
|
||
| module subroutine fraggle_placeholder_kick(self, system, param, t, dt, lbeg) | ||
| implicit none | ||
| class(fraggle_fragments), intent(inout) :: self !! Fraggle fragment system object | ||
| class(swiftest_nbody_system), intent(inout) :: system !! Swiftest nbody system objec | ||
| class(swiftest_parameters), intent(in) :: param !! Current run configuration parameters | ||
| real(DP), intent(in) :: t !! Current time | ||
| real(DP), intent(in) :: dt !! Stepsize | ||
| logical, intent(in) :: lbeg !! Logical flag indicating whether this is the beginning of the half step or not. | ||
|
|
||
| write(*,*) "The type-bound procedure 'kick' is not defined for type fraggle_fragments" | ||
| return | ||
| end subroutine fraggle_placeholder_kick | ||
|
|
||
| module subroutine fraggle_placeholder_step(self, system, param, t, dt) | ||
| implicit none | ||
| class(fraggle_fragments), intent(inout) :: self !! Swiftest body object | ||
| class(swiftest_nbody_system), intent(inout) :: system !! Swiftest system object | ||
| class(swiftest_parameters), intent(inout) :: param !! Current run configuration parameters | ||
| real(DP), intent(in) :: t !! Simulation time | ||
| real(DP), intent(in) :: dt !! Current stepsize | ||
|
|
||
| write(*,*) "The type-bound procedure 'step' is not defined for type fraggle_fragments" | ||
| return | ||
| end subroutine fraggle_placeholder_step | ||
|
|
||
|
|
||
| end submodule s_fraggle_placeholder |
Oops, something went wrong.