Skip to content

Commit 332196a

Browse files
committed
cleanup
1 parent 8d293b4 commit 332196a

File tree

4 files changed

+21
-16
lines changed

4 files changed

+21
-16
lines changed

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ authors:
55
given-names: Norbert
66
orcid: https://orcid.org/0000-0002-5821-4066
77
title: "Planetary-Code-Collection: Thermal, Ice Evolution, and Exosphere Models for Planetary Surfaces"
8-
version: 1.2.0
8+
version: 1.2.2
99
doi: 10.5281/zenodo.594268
1010
url: "https://github.com/nschorgh/Planetary-Code-Collection/"
11-
date-released: 2022-12-30
11+
date-released: 2024-01-29

Common/Test/README_tests.txt

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@ Validation and Example Results
44
1. Test of a semi-implicit heat equation solver with prescribed surface
55
temperature (conductionT.f90)
66

7-
make testcrankT
8-
a.out
7+
make testcrankT
8+
a.out
99

1010
- Tprofile_testcrankT contains 12 temperature profiles from the last sol
1111
- z.testcrankT contains the coordinates of the vertical grid
12-
- test_Tprofile.m reads these profiles and compares them to the analytical solution
12+
- test_Tprofile.m reads these profiles and compares them to the analytical
13+
solution
1314

1415
The result is shown in Figure 1.1 of the UserGuide.pdf
1516

@@ -18,26 +19,27 @@ Note: The analytical solution is for an infinitely thick domain, so the small
1819

1920

2021

21-
2. Example solution of semi-implicit heat equation solver with Stefan-Boltzmann Law
22-
boundary condition (conductionQ.f90 or conductionQ2.f90)
22+
2. Example solution of semi-implicit heat equation solver with Stefan-Boltzmann
23+
Law boundary condition (conductionQ.f90)
2324

24-
make testcrankQ
25-
a.out
25+
make testcrankQ
26+
a.out
2627

2728
- Tprofile_testcrankQ contains 12 temperature profiles from the last sol
2829
- z.testcrankQ contains the coordinates of the vertical grid
2930
- stdout_of_testcrankQ.txt contains the time-averaged temperature profile and
3031
heat flux
3132
After the temperature has equilibrated, the time-averaged heat flux must be
32-
constant with depth and must equal the heat flux specified at the bottom boundary.
33+
constant with depth and must equal the heat flux specified at the bottom
34+
boundary.
3335

3436

3537

3638
3. Test implementation of nonlinear boundary condition in Crank-Nicolson solver
3739
(subroutine cranknQ)
3840

39-
make testcrankQ_asymp
40-
a.out
41+
make testcrankQ_asymp
42+
a.out
4143

4244
The numerical solution is in the 2nd column of the output file 'Tsurface_asymp'
4345
and the analytical solution for small times is in the 4th column. The result can
@@ -47,8 +49,8 @@ be plotted with testQ_asymp.m and is shown in Figure 1.4 of the UserGuide.pdf.
4749

4850
4. Test rate of convergence of conductionQ.f90 with time step
4951

50-
make testcrankQ_conv
51-
a.out
52+
make testcrankQ_conv
53+
a.out
5254

5355
The output file 'Tprofiles' contains temperature profiles for eight different
5456
values for the time step. Errors can be defined by differences between these

Common/Test/makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,18 @@ testcrankT: testcrankT.o makefile
2121
$(SR)grids.o
2222

2323
testcrankQ_asymp asymp: testcrankQ_asymp.o makefile
24-
# use pure version of cranknQ
2524
make CC='$(CC)' CFLAGS='$(CFLAGS)' -C $(SR) common
25+
# use legacy version of cranknQ
26+
# which happens to be in Misc/conductionQ+smooth.f90
2627
$(CC) $(CFLAGS) -c ../Misc/conductionQ+smooth.f90
2728
$(CC) $(LFLAGS) testcrankQ_asymp.o conductionQ+smooth.o $(SR)tridag.o \
2829
$(SR)grids.o
2930

3031
testcrankQ_conv conv: testcrankQ_conv.o makefile
3132
make -C $(SR) common
32-
$(CC) -O1 testcrankQ_conv.o $(SR)flux_noatm.o $(SR)conductionQ.o \
33+
# use legacy version of cranknQ
34+
$(CC) $(CFLAGS) -c ../Misc/conductionQ+smooth.f90
35+
$(CC) -O1 testcrankQ_conv.o $(SR)flux_noatm.o conductionQ+smooth.o \
3336
$(SR)tridag.o $(SR)grids.o
3437

3538

UserGuide.pdf

510 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)