Skip to content

Commit

Permalink
Merge pull request #141 from n-claes/bugfix/140
Browse files Browse the repository at this point in the history
Fix dropoff options in parfile
  • Loading branch information
n-claes authored May 10, 2023
2 parents 104dee2 + b3e873f commit 8f67a2a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions src/dataIO/mod_input.f08
Original file line number Diff line number Diff line change
Expand Up @@ -267,13 +267,14 @@ subroutine read_physicslist(unit, settings)
if (perpendicular_conduction) then
call settings%physics%enable_perpendicular_conduction(fixed_tc_perp_value)
end if
if (resistivity) call settings%physics%enable_resistivity( &
fixed_resistivity_value &
)
if (resistivity) call settings%physics%enable_resistivity(fixed_resistivity_value)
settings%physics%resistivity%use_dropoff = use_eta_dropoff
if (viscosity) call settings%physics%enable_viscosity( &
viscosity_value, viscous_heating &
)
if (hall_mhd) call settings%physics%enable_hall(elec_inertia, electron_fraction)
settings%physics%hall%use_dropoff = hall_dropoff
settings%physics%hall%use_inertia_dropoff = inertia_dropoff
settings%physics%dropoff_edge_dist = dropoff_edge_dist
settings%physics%dropoff_width = dropoff_width
end subroutine read_physicslist
Expand Down
2 changes: 1 addition & 1 deletion src/mod_version.f08
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ module mod_version
implicit none

!> legolas version number
character(len=10), parameter :: LEGOLAS_VERSION = "2.0.0"
character(len=10), parameter :: LEGOLAS_VERSION = "2.0.1"

end module mod_version

0 comments on commit 8f67a2a

Please sign in to comment.