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.
Started to work on making a variety of collision models other than Fr…
…aggle
- Loading branch information
Showing
12 changed files
with
333 additions
and
158 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
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
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,39 @@ | ||
|
|
||
| !! Copyright 2022 - David Minton, Carlisle Wishard, Jennifer Pouplin, Jake Elliott, & Dana Singh | ||
| !! This file is part of Swiftest. | ||
| !! Swiftest is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License | ||
| !! as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. | ||
| !! Swiftest is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty | ||
| !! of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. | ||
| !! You should have received a copy of the GNU General Public License along with Swiftest. | ||
| !! If not, see: https://www.gnu.org/licenses. | ||
|
|
||
| submodule(collision) s_collision_model | ||
| use swiftest | ||
| contains | ||
|
|
||
| module subroutine collision_generate_merge_system(self, system, param, t) | ||
| implicit none | ||
| class(collision_merge), intent(inout) :: self !! Fraggle fragment system object | ||
| class(base_nbody_system), intent(inout) :: system !! Swiftest nbody system object | ||
| class(base_parameters), intent(inout) :: param !! Current run configuration parameters | ||
| real(DP), intent(in) :: t !! The time of the collision | ||
| end subroutine collision_generate_merge_system | ||
|
|
||
| module subroutine collision_generate_bounce_system(self, system, param, t) | ||
| implicit none | ||
| class(collision_bounce), intent(inout) :: self !! Fraggle fragment system object | ||
| class(base_nbody_system), intent(inout) :: system !! Swiftest nbody system object | ||
| class(base_parameters), intent(inout) :: param !! Current run configuration parameters | ||
| real(DP), intent(in) :: t !! The time of the collision | ||
| end subroutine collision_generate_bounce_system | ||
|
|
||
| module subroutine collision_generate_simple_system(self, system, param, t) | ||
| implicit none | ||
| class(collision_simple), intent(inout) :: self !! Fraggle fragment system object | ||
| class(base_nbody_system), intent(inout) :: system !! Swiftest nbody system object | ||
| class(base_parameters), intent(inout) :: param !! Current run configuration parameters | ||
| real(DP), intent(in) :: t !! The time of the collision | ||
| end subroutine collision_generate_simple_system | ||
|
|
||
| end submodule s_collision_model |
Oops, something went wrong.