Skip to content

Commit

Permalink
fix compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldouglas92 committed Aug 16, 2024
1 parent 8e154d4 commit 8b19e6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include "world_builder/types/unsigned_int.h"
#include "world_builder/types/value_at_points.h"
#include "world_builder/utilities.h"
#include "world_builder/world.h"


namespace WorldBuilder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include "world_builder/types/object.h"
#include "world_builder/types/unsigned_int.h"
#include "world_builder/utilities.h"
#include "world_builder/world.h"


namespace WorldBuilder
Expand Down Expand Up @@ -198,7 +199,7 @@ namespace WorldBuilder
if (distance_from_plane.distance_from_plane <= max_depth && distance_from_plane.distance_from_plane >= min_depth)
{
double lithostatic_pressure = density * 9.81 * depth / 1e9; // GPa
double slab_temperature = this->world->properties(position_in_cartesian_coordinates.get_array(), depth, {{{1,0,0}}})[0];
double slab_temperature = world->properties(position_in_cartesian_coordinates.get_array(), depth, {{{1,0,0}}})[0];
double partition_coefficient = calculate_water_content(lithostatic_pressure,
slab_temperature,
lithology_str);
Expand Down

0 comments on commit 8b19e6d

Please sign in to comment.