Skip to content

Commit f2c2267

Browse files
committed
bringing back equilib calls; commenting out aero_state_set_n_part_ideal
1 parent d08c9af commit f2c2267

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

examples/condense.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
"metadata": {},
168168
"outputs": [],
169169
"source": [
170-
"#ppmc.condense_equilib_particles(env_state, aero_data, aero_state)"
170+
"ppmc.condense_equilib_particles(env_state, aero_data, aero_state)"
171171
]
172172
},
173173
{

src/aero_state.F90

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ subroutine f_aero_state_set_n_part_ideal(ptr_c, n_part) bind(C)
3333
real(c_double), intent(in) :: n_part
3434

3535
call c_f_pointer(ptr_c, ptr_f)
36-
call aero_state_set_n_part_ideal(ptr_f, n_part)
36+
! TODO
37+
!call aero_state_set_n_part_ideal(ptr_f, n_part)
3738
end subroutine
3839

3940
end module

tests/test_condense.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
from .test_aero_state import AERO_STATE_CTOR_ARG_MINIMAL
1111

1212

13-
# pylint: disable=unused-variable
14-
1513
class TestCondense:
1614
@staticmethod
1715
def test_equilib_particles():
@@ -21,7 +19,7 @@ def test_equilib_particles():
2119
aero_state = ppmc.AeroState(AERO_STATE_CTOR_ARG_MINIMAL)
2220

2321
# act
24-
#ppmc.condense_equilib_particles(env_state, aero_data, aero_state)
22+
ppmc.condense_equilib_particles(env_state, aero_data, aero_state)
2523

2624
# assert
2725
pass # TODO

0 commit comments

Comments
 (0)