-
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.
- Loading branch information
1 parent
5215be7
commit dfe20bf
Showing
145 changed files
with
9,341 additions
and
138 deletions.
There are no files selected for viewing
This file contains 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 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 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 |
---|---|---|
@@ -1,12 +1,15 @@ | ||
# Distributed under the MIT License. | ||
# See LICENSE.txt for details. | ||
|
||
find_package(COCAL REQUIRED) | ||
|
||
find_package(COCAL) | ||
|
||
if (COCAL_FOUND) | ||
message("Found cocal") | ||
message("-- Found Cocal at ${COCAL_ROOT}") | ||
file(APPEND | ||
"${CMAKE_BINARY_DIR}/BuildInfo.txt" | ||
"COCAL: ${COCAL_ROOT}\n" | ||
) | ||
else() | ||
message("-- Could not find Cocal") | ||
endif() |
This file contains 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 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 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 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
22 changes: 22 additions & 0 deletions
22
src/PointwiseFunctions/AnalyticData/GrMhd/COCAL_reader/IO_input_CF_flco_export.f90
This file contains 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,22 @@ | ||
subroutine IO_input_CF_flco_export(filenm,emd,ome,ber,radi) | ||
use phys_constant, only : long, nnrg, nntg, nnpg | ||
implicit none | ||
integer :: ir, it, ip, nrtmp, nttmp, nptmp | ||
real(8), pointer :: emd(:,:,:) | ||
real(8) :: ome, ber, radi | ||
character(len=*) :: filenm | ||
! | ||
! --- Matter | ||
open(12,file=trim(filenm),status='old') | ||
read(12,'(5i5)') nrtmp, nttmp, nptmp | ||
do ip = 0, nptmp | ||
do it = 0, nttmp | ||
do ir = 0, nrtmp | ||
read(12,'(1p,6e20.12)') emd(ir,it,ip) | ||
end do | ||
end do | ||
end do | ||
read(12,'(1p,6e20.12)') ome, ber, radi | ||
close(12) | ||
! | ||
end subroutine IO_input_CF_flco_export |
25 changes: 25 additions & 0 deletions
25
src/PointwiseFunctions/AnalyticData/GrMhd/COCAL_reader/IO_input_CF_flir_export.f90
This file contains 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,25 @@ | ||
subroutine IO_input_CF_flir_export(filenm,emd,vep,ome,ber,radi) | ||
use phys_constant, only : long, nnrg, nntg, nnpg | ||
implicit none | ||
integer :: ir, it, ip, nrtmp, nttmp, nptmp | ||
real(8), pointer :: emd(:,:,:), vep(:,:,:), rs(:,:) | ||
real(8) :: ome, ber, radi | ||
character(len=*) :: filenm | ||
character*400 :: tmp_file | ||
! | ||
! --- Matter | ||
! tmp_file = "/home/fs01/ml2847/SPECTRE/BNS/ID/IRE3.0_SLy_SLy_010_M1.96/work_area_BNS/bnsflu_3D_mpt1.las" | ||
open(12,file=trim(filenm),status='old') | ||
! open(12,file=trim(tmp_file),status='old') | ||
read(12,'(5i5)') nrtmp, nttmp, nptmp | ||
do ip = 0, nptmp | ||
do it = 0, nttmp | ||
do ir = 0, nrtmp | ||
read(12,'(1p,6e20.12)') emd(ir,it,ip), vep(ir,it,ip) | ||
end do | ||
end do | ||
end do | ||
read(12,'(1p,6e20.12)') ome, ber, radi | ||
close(12) | ||
! | ||
end subroutine IO_input_CF_flir_export |
Oops, something went wrong.