Skip to content

Commit 1c7cc45

Browse files
authored
Release 2.7.0 (#189)
* fix long lines * Update info for 2.7.0 release
1 parent e73f653 commit 1c7cc45

9 files changed

+40
-16
lines changed

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ project(PARTMC Fortran C)
77

88
set(PACKAGE_BUGREPORT "[email protected]")
99
set(PACKAGE_NAME "PartMC")
10-
set(PACKAGE_STRING "PartMC 2.6.1")
10+
set(PACKAGE_STRING "PartMC 2.7.0")
1111
set(PACKAGE_TARNAME "partmc")
12-
set(PACKAGE_VERSION "2.6.1")
12+
set(PACKAGE_VERSION "2.7.0")
1313

1414
######################################################################
1515
# options

ChangeLog.md

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
2.7.0 - 2023-08-11
2+
3+
* Add support for SUNDIALS 6+ (Alex Hirzel).
4+
5+
* Add wrapper around stop (Sylwester Arabas).
6+
7+
* Change timestepping structure in run_part (Jeff Curtis).
8+
9+
* Update kappa value of NaCl (Jeff Curtis).
10+
11+
* Remove optional communicator in photolysis.F90 (Jeff Curtis).
12+
13+
* Use relative tolerance for comparing water properties (Jeff Curtis).
114

215
2.6.1 - 2022-02-18
316

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ PartMC: Particle-resolved Monte Carlo code for atmospheric aerosol simulation
55

66
[![Latest version](https://img.shields.io/github/tag/compdyn/partmc.svg?label=version)](https://github.com/compdyn/partmc/blob/master/ChangeLog.md) [![Docker build status](https://img.shields.io/docker/automated/compdyn/partmc.svg)](https://hub.docker.com/r/compdyn/partmc/builds/) [![Github Actions Status](https://github.com/compdyn/partmc/workflows/CI/badge.svg?branch=master)](https://github.com/compdyn/partmc/actions/workflows/main.yml) [![License](https://img.shields.io/github/license/compdyn/partmc.svg)](https://github.com/compdyn/partmc/blob/master/COPYING) [![DOI](https://zenodo.org/badge/24058992.svg)](https://zenodo.org/badge/latestdoi/24058992)
77

8-
Version 2.6.1
9-
Released 2022-02-18
8+
Version 2.7.0
9+
Released 2023-08-11
1010

1111
**Source:** <https://github.com/compdyn/partmc>
1212

1313
**Homepage:** <http://lagrange.mechse.illinois.edu/partmc/>
1414

15-
**Cite as:** M. West, N. Riemer, J. Curtis, M. Michelotti, and J. Tian (2022) PartMC, [![version](https://img.shields.io/github/release/compdyn/partmc.svg?label=version)](https://github.com/compdyn/partmc), [![DOI](https://zenodo.org/badge/24058992.svg)](https://zenodo.org/badge/latestdoi/24058992)
15+
**Cite as:** M. West, N. Riemer, J. Curtis, M. Michelotti, and J. Tian (2023) PartMC, [![version](https://img.shields.io/github/release/compdyn/partmc.svg?label=version)](https://github.com/compdyn/partmc), [![DOI](https://zenodo.org/badge/24058992.svg)](https://zenodo.org/badge/latestdoi/24058992)
1616

1717
Copyright (C) 2005-2022 Nicole Riemer and Matthew West
1818
Portions copyright (C) Andreas Bott, Richard Easter, Jeffrey Curtis,
@@ -184,12 +184,12 @@ Installation
184184

185185
2. Unpack PartMC:
186186

187-
tar xzvf partmc-2.6.1.tar.gz
187+
tar xzvf partmc-2.7.0.tar.gz
188188

189189
3. Change into the main PartMC directory (where this README file is
190190
located):
191191

192-
cd partmc-2.6.1
192+
cd partmc-2.7.0
193193

194194
4. Make a directory called `build` and change into it:
195195

doc/Doxyfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ PROJECT_NAME = PartMC
3838
# could be handy for archiving the generated documentation or if some version
3939
# control system is used.
4040

41-
PROJECT_NUMBER = 2.6.1
41+
PROJECT_NUMBER = 2.7.0
4242

4343
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4444
# for a project that appears at the top of each page and should give viewer a

doc/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
VERSION = 2.6.1
2+
VERSION = 2.7.0
33

44
GRAPHVIZ_FILE = partmc_modules.gv
55
GRAPHVIZ_PDF = $(patsubst %.gv,%.pdf,$(GRAPHVIZ_FILE))

src/condense_solver.c

+6-3
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,14 @@ static int condense_check_flag(void *flagvalue, char *funcname, int opt);
5959
// solver block
6060

6161
static int condense_solver_Solve(double t, N_Vector ycur, N_Vector fcur,
62-
N_Vector r, N_Vector b, double gamma, double delta, int lr, void *user_data);
62+
N_Vector r, N_Vector b, double gamma,
63+
double delta, int lr, void *user_data);
6364

6465
/*******************************************************/
6566

6667
void condense_vf_f(int neq, realtype t, double *y_f, double *ydot_f);
67-
void condense_jac_solve_f(int neq, double t, double *ycur_f, double *fcur_f, double *b_f, double gamma);
68+
void condense_jac_solve_f(int neq, double t, double *ycur_f, double *fcur_f,
69+
double *b_f, double gamma);
6870

6971
/** \brief Call the ODE solver.
7072
*
@@ -272,7 +274,8 @@ static int condense_check_flag(void *flagvalue, char *funcname, int opt)
272274
#pragma GCC diagnostic push
273275
#pragma GCC diagnostic ignored "-Wunused-parameter"
274276
static int condense_solver_Solve(double t, N_Vector ycur, N_Vector fcur,
275-
N_Vector b, N_Vector z, double gamma, double delta, int lr, void *user_data)
277+
N_Vector b, N_Vector z, double gamma,
278+
double delta, int lr, void *user_data)
276279
{
277280
realtype *b_data, *ycur_data, *fcur_data, *z_data;
278281
int i, neq;

src/output.F90

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ module pmc_output
8282
#endif
8383

8484
!> PartMC verson number.
85-
character(len=100), parameter :: PARTMC_VERSION = "2.6.1"
85+
character(len=100), parameter :: PARTMC_VERSION = "2.7.0"
8686

8787
!> Type code for undefined or invalid output.
8888
integer, parameter :: OUTPUT_TYPE_INVALID = 0

src/run_part.F90

+3-3
Original file line numberDiff line numberDiff line change
@@ -700,9 +700,9 @@ subroutine run_part_timeblock(scenario, env_state, aero_data, aero_state, &
700700
#ifdef PMC_USE_CAMP
701701
camp_core, photolysis, &
702702
#endif
703-
i_cur, i_next, t_start, last_output_time, last_progress_time, i_output, &
704-
progress_n_samp, progress_n_coag, progress_n_emit, progress_n_dil_in, &
705-
progress_n_dil_out, progress_n_nuc)
703+
i_cur, i_next, t_start, last_output_time, last_progress_time, &
704+
i_output, progress_n_samp, progress_n_coag, progress_n_emit, &
705+
progress_n_dil_in, progress_n_dil_out, progress_n_nuc)
706706

707707
!> Environment state.
708708
type(scenario_t), intent(in) :: scenario

tool/find_long_lines.py

+8
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,16 @@
1515
' ! This is needed because Fortran standard allows but doesn\'t *require* short-circuited',
1616
' print \'(a,a,a)\', "Error: option \'", trim(arg), "\' requires an argument"',
1717
' rgas = const%univ_gas_const * 1d3 / const%air_std_press ! J/mole/K to atmos/(mol/liter)/K',
18+
'! Copyright (C) 2007-2012, 2016, 2017, 2018, 2021 Nicole Riemer and Matthew West',
1819
'!! href="http://dx.doi.org/10.5194/acp-14-5327-2014">10.5194/acp-14-5327-2014</a>.',
1920
'!! href="http://dx.doi.org/10.5194/acp-13-11423-2013">10.5194/acp-13-11423-2013</a>.',
21+
'!! href="http://dx.doi.org/10.1080/02786826.2020.1804523">10.1080/02786826.2020.1804523</a>.',
22+
'!! href="http://dx.doi.org/10.1080/02786826.2019.1661959">10.1080/02786826.2019.1661959</a>',
23+
'!! href="http://dx.doi.org/10.5194/gmd-10-4057-2017">10.5194/gmd-10-4057-2017</a>.',
24+
'!! href="http://dx.doi.org/10.1080/02786826.2017.1311988">10.1080/02786826.2017.1311988</a>.',
25+
'!! href="http://dx.doi.org/10.5194/acp-17-7445-2017">10.5194/acp-17-7445-2017</a>.',
26+
'!! href="http://dx.doi.org/10.1016/j.jcp.2016.06.029">10.1016/j.jcp.2016.06.029</a>.',
27+
'!! href="http://dx.doi.org/10.5194/acp-14-6289-2014">10.5194/acp-14-6289-2014</a>.',
2028
]
2129

2230
for filename in sys.argv[1:]:

0 commit comments

Comments
 (0)