Skip to content

Commit 4aba622

Browse files
committed
fixing long lines in Fortran
1 parent c5ba064 commit 4aba622

File tree

1 file changed

+28
-4
lines changed

1 file changed

+28
-4
lines changed

src/scenario.F90

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,13 @@ subroutine f_scenario_from_json(gas_ptr_c, aer_ptr_c, ptr_c) bind(C)
3939
call spec_file_read_scenario(file, gas_ptr_f, aer_ptr_f, ptr_f)
4040
end subroutine
4141

42-
subroutine f_scenario_loss_rate(scenario_ptr_c, vol, density, aero_data_ptr_c, env_state_ptr_c, rate) bind (C)
42+
subroutine f_scenario_loss_rate( &
43+
scenario_ptr_c, vol, &
44+
density, aero_data_ptr_c, &
45+
env_state_ptr_c, &
46+
rate &
47+
) bind (C)
48+
4349
type(scenario_t), pointer :: scenario_ptr_f => null()
4450
type(aero_data_t), pointer :: aero_data_ptr_f => null()
4551
type(env_state_t), pointer :: env_state_ptr_f => null()
@@ -51,11 +57,24 @@ subroutine f_scenario_loss_rate(scenario_ptr_c, vol, density, aero_data_ptr_c, e
5157
call c_f_pointer(aero_data_ptr_c, aero_data_ptr_f)
5258
call c_f_pointer(env_state_ptr_c, env_state_ptr_f)
5359

54-
rate = scenario_loss_rate(scenario_ptr_f, vol, density, aero_data_ptr_f, env_state_ptr_f)
60+
rate = scenario_loss_rate( &
61+
scenario_ptr_f, &
62+
vol, &
63+
density, &
64+
aero_data_ptr_f, &
65+
env_state_ptr_f &
66+
)
5567

5668
end subroutine
5769

58-
subroutine f_scenario_loss_rate_dry_dep(vol, density, aero_data_ptr_c, env_state_ptr_c, rate) bind(C)
70+
subroutine f_scenario_loss_rate_dry_dep( &
71+
vol, &
72+
density, &
73+
aero_data_ptr_c, &
74+
env_state_ptr_c, &
75+
rate &
76+
) bind(C)
77+
5978
type(aero_data_t), pointer :: aero_data_ptr_f => null()
6079
type(env_state_t), pointer :: env_state_ptr_f => null()
6180
real(c_double), intent(in) :: vol, density
@@ -65,7 +84,12 @@ subroutine f_scenario_loss_rate_dry_dep(vol, density, aero_data_ptr_c, env_state
6584
call c_f_pointer(aero_data_ptr_c, aero_data_ptr_f)
6685
call c_f_pointer(env_state_ptr_c, env_state_ptr_f)
6786

68-
rate = scenario_loss_rate_dry_dep(vol, density, aero_data_ptr_f, env_state_ptr_f)
87+
rate = scenario_loss_rate_dry_dep( &
88+
vol, &
89+
density, &
90+
aero_data_ptr_f, &
91+
env_state_ptr_f &
92+
)
6993

7094
end subroutine
7195

0 commit comments

Comments
 (0)