Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Commit

Permalink
Public release of Athena++ version 21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
felker committed Jan 7, 2021
1 parent 90a6eb9 commit 4351e63
Show file tree
Hide file tree
Showing 284 changed files with 25,690 additions and 11,924 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,7 @@ meshtest.dat
*.info

# genhtml test case description format produced by gendesc
*.desc
*.desc

# compiled doxygen file
doc/doxy*
2 changes: 2 additions & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ SRC_FILES := $(wildcard src/*.cpp) \
$(wildcard src/bvals/cc/hydro/*.cpp) \
$(wildcard src/bvals/cc/mg/*.cpp) \
$(wildcard src/bvals/fc/*.cpp) \
$(wildcard src/bvals/orbital/*.cpp) \
$(wildcard src/bvals/utils/*.cpp) \
$(wildcard src/coordinates/*.cpp) \
src/eos/general/$(GENERAL_EOS_FILE) \
Expand All @@ -48,6 +49,7 @@ SRC_FILES := $(wildcard src/*.cpp) \
$(wildcard src/inputs/*.cpp) \
$(wildcard src/mesh/*.cpp) \
$(wildcard src/multigrid/*.cpp) \
$(wildcard src/orbital_advection/*.cpp) \
$(wildcard src/outputs/*.cpp) \
src/pgen/default_pgen.cpp \
src/pgen/$(PROBLEM_FILE) \
Expand Down
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
athena
======
<!-- Jenkins Status Badge in Markdown (with view), unprotected, flat style -->
<!-- In general, need to be on Princeton VPN, logged into Princeton CAS, with ViewStatus access to Jenkins instance to click on unprotected Build Status Badge, but server is configured to whitelist GitHub -->
[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)

<!--[![Public GitHub issues](https://img.shields.io/github/issues/PrincetonUniversity/athena-public-version.svg)](/~https://github.com/PrincetonUniversity/athena-public-version/issues)
[![Public GitHub pull requests](https://img.shields.io/github/issues-pr/PrincetonUniversity/athena-public-version.svg)](/~https://github.com/PrincetonUniversity/athena-public-version/pulls) -->

Athena++ radiation MHD code

25 changes: 4 additions & 21 deletions configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
# -s enable special relativity
# -g enable general relativity
# -t enable interface frame transformations for GR
# -shear enable shearing periodic boundary conditions
# -debug enable debug flags (-g -O0); override other compiler options
# -coverage enable compiler-dependent code coverage flags
# -float enable single precision (default is double)
Expand All @@ -30,7 +29,7 @@
# -fft enable FFT (requires the FFTW library)
# --fftw_path=path path to FFTW libraries (requires the FFTW library)
# --grav=xxx use xxx as the self-gravity solver
# --cxx=xxx use xxx as the C++ compiler
# --cxx=xxx use xxx as the C++ compiler (works w/ or w/o -mpi)
# --ccmd=name use name as the command to call the (non-MPI) C++ compiler
# --mpiccmd=name use name as the command to call the MPI C++ compiler
# --gcovcmd=name use name as the command to call the gcov utility
Expand Down Expand Up @@ -142,12 +141,6 @@
default=False,
help='enable interface frame transformations for GR')

# -shear argument
parser.add_argument('-shear',
action='store_true',
default=False,
help='enable shearing box')

# -debug argument
parser.add_argument('-debug',
action='store_true',
Expand Down Expand Up @@ -181,7 +174,7 @@
# --grav=[name] argument
parser.add_argument('--grav',
default='none',
choices=['none', 'fft', 'mg'],
choices=['none', 'fft'],
help='select self-gravity solver')

# -fft argument
Expand Down Expand Up @@ -251,7 +244,7 @@ def c_to_cpp(arg):
default='g++',
type=c_to_cpp,
choices=cxx_choices,
help='select C++ compiler and default set of flags')
help='select C++ compiler and default set of flags (works w/ or w/o -mpi)')

# --ccmd=[name] argument
parser.add_argument('--ccmd',
Expand Down Expand Up @@ -343,7 +336,7 @@ def c_to_cpp(arg):
if args['s'] or args['g']:
raise SystemExit('### CONFIGURE ERROR: '
+ 'General EOS is incompatible with relativity')
if args['flux'] not in ['hllc', 'hlld', 'hlle']:
if args['flux'] not in ['hllc', 'hlld']:
raise SystemExit('### CONFIGURE ERROR: '
+ 'General EOS is incompatible with flux ' + args['flux'])

Expand Down Expand Up @@ -442,12 +435,6 @@ def c_to_cpp(arg):
if not args['t']:
makefile_options['RSOLVER_FILE'] += '_no_transform'

# -shear argument
if args['shear']:
definitions['SHEARING_BOX'] = '1'
else:
definitions['SHEARING_BOX'] = '0'

# --cxx=[name] argument
if args['cxx'] == 'g++':
# GCC is C++11 feature-complete since v4.8.1 (2013-05-31)
Expand Down Expand Up @@ -685,9 +672,6 @@ def c_to_cpp(arg):
raise SystemExit(
'### CONFIGURE ERROR: FFT Poisson solver only be used with FFT')

if args['grav'] == "mg":
definitions['SELF_GRAVITY_ENABLED'] = '2'

# -fft argument
makefile_options['MPIFFT_FILE'] = ' '
definitions['FFT_OPTION'] = 'NO_FFT'
Expand Down Expand Up @@ -804,7 +788,6 @@ def c_to_cpp(arg):
print(' Frame transformations: ' + ('ON' if args['t'] else 'OFF'))
print(' Self-Gravity: ' + self_grav_string)
print(' Super-Time-Stepping: ' + ('ON' if args['sts'] else 'OFF'))
print(' Shearing Box BCs: ' + ('ON' if args['shear'] else 'OFF'))
print(' Debug flags: ' + ('ON' if args['debug'] else 'OFF'))
print(' Code coverage flags: ' + ('ON' if args['coverage'] else 'OFF'))
print(' Linker flags: ' + makefile_options['LINKER_FLAGS'] + ' '
Expand Down
Loading

0 comments on commit 4351e63

Please sign in to comment.