Skip to content

Commit

Permalink
rates: port to new build system
Browse files Browse the repository at this point in the history
  • Loading branch information
warrickball authored and VincentVanlaer committed Dec 29, 2024
1 parent f104ccd commit 5b045ef
Show file tree
Hide file tree
Showing 22 changed files with 47 additions and 303 deletions.
1 change: 0 additions & 1 deletion install
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,6 @@ function do_input_data {
cd ..
}

do_one_parallel rates
do_one_parallel neu
do_one_parallel net

Expand Down
2 changes: 1 addition & 1 deletion make/subdirs.mk
Original file line number Diff line number Diff line change
@@ -1 +1 @@
SUBDIRS := const utils math mtx auto_diff num interp_1d interp_2d chem eos forum colors gyre kap
SUBDIRS := const utils math mtx auto_diff num interp_1d interp_2d chem eos forum colors rates gyre kap
46 changes: 46 additions & 0 deletions rates/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
include ../make/defaults-module.mk

# Build

MODULE_NAME := rates
SRCS := public/rates_def.f90 \
public/rates_lib.f90 \
private/rates_names.f90 \
private/rates_reverses.f90 \
private/weak_support.f90 \
private/weaklib_tables.f90 \
private/suzuki_tables.f90 \
private/load_weak.f90 \
private/eval_weak.f90 \
private/coulomb.f90 \
private/load_ecapture.f90 \
private/eval_psi.f90 \
private/eval_coulomb.f90 \
private/eval_ecapture.f90 \
private/reaclib_eval.f90 \
private/reaclib_support.f90 \
private/reaclib_print.f90 \
private/reaclib_input.f90 \
private/ratelib.f90 \
private/pycno.f90 \
private/raw_rates.f90 \
private/rates_initialize.f90 \
private/rates_support.f90 \
private/screen5.f90 \
private/screen_chugunov.f90 \
private/screen.f90
SRCS_CHECK := test/src/test_rates.f90
INTERNAL_DEPENDS_ON := const utils math auto_diff interp_1d interp_2d chem eos forum
EXTERNAL_DEPENDS_ON :=
BINTYPE := static-lib

# Testing

CHECK_RESULTS_GOLDEN := test/test_output

# Install

MODULES := rates_def.mod rates_lib.mod
INSTALL_INCLUDES :=

include $(MAKE_DIR)/Makefile
3 changes: 0 additions & 3 deletions rates/build_and_test

This file was deleted.

3 changes: 0 additions & 3 deletions rates/build_and_test_parallel

This file was deleted.

2 changes: 0 additions & 2 deletions rates/clean

This file was deleted.

2 changes: 0 additions & 2 deletions rates/export

This file was deleted.

1 change: 0 additions & 1 deletion rates/i1

This file was deleted.

1 change: 0 additions & 1 deletion rates/i1p

This file was deleted.

8 changes: 0 additions & 8 deletions rates/make/makefile

This file was deleted.

143 changes: 0 additions & 143 deletions rates/make/makefile_base

This file was deleted.

1 change: 0 additions & 1 deletion rates/mk

This file was deleted.

1 change: 0 additions & 1 deletion rates/test/ck

This file was deleted.

2 changes: 0 additions & 2 deletions rates/test/clean

This file was deleted.

4 changes: 0 additions & 4 deletions rates/test/cleanup

This file was deleted.

2 changes: 0 additions & 2 deletions rates/test/export

This file was deleted.

8 changes: 0 additions & 8 deletions rates/test/make/makefile

This file was deleted.

101 changes: 0 additions & 101 deletions rates/test/make/makefile_base

This file was deleted.

14 changes: 0 additions & 14 deletions rates/test/mk

This file was deleted.

1 change: 0 additions & 1 deletion rates/test/mkx

This file was deleted.

3 changes: 0 additions & 3 deletions rates/test/rn

This file was deleted.

1 change: 0 additions & 1 deletion touch
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ do_one binary
do_one ionization
do_one net
do_one neu
do_one rates
do_one sample
do_one star
do_one star_data
Expand Down

0 comments on commit 5b045ef

Please sign in to comment.