diff --git a/source/world_builder/world.cc b/source/world_builder/world.cc index f6a4d703e..232427a6b 100644 --- a/source/world_builder/world.cc +++ b/source/world_builder/world.cc @@ -309,7 +309,8 @@ namespace WorldBuilder WBAssert(this->limit_debug_consistency_checks || this->parameters.coordinate_system->natural_coordinate_system() == cartesian || approx(depth, this->parameters.coordinate_system->max_model_depth()-sqrt(point_[0]*point_[0]+point_[1]*point_[1]+point_[2]*point_[2])), "Inconsistent input. Please check whether the radius in the sperhical coordinates is consistent with the radius of the planet as defined " - << "in the program that uses the Geodynamic World Builder. " + << "in the program that uses the Geodynamic World Builder. This is a debug check in GWB and can be disabled by setting " + << "limit_debug_consistency_checks to false. " << "Depth = " << depth << ", radius = " << this->parameters.coordinate_system->max_model_depth() << ", point = " << point_[0] << " " << point_[1] << " " << point_[2] << ", radius-point.norm() = " << this->parameters.coordinate_system->max_model_depth()-sqrt(point_[0]*point_[0]+point_[1]*point_[1]+point_[2]*point_[2])); @@ -458,7 +459,8 @@ namespace WorldBuilder WBAssert(!this->limit_debug_consistency_checks || this->parameters.coordinate_system->natural_coordinate_system() == cartesian || approx(depth, this->parameters.coordinate_system->max_model_depth()-sqrt(point_[0]*point_[0]+point_[1]*point_[1]+point_[2]*point_[2])), "Inconsistent input. Please check whether the radius in the sperhical coordinates is consistent with the radius of the planet as defined " - << "in the program that uses the Geodynamic World Builder. " + << "in the program that uses the Geodynamic World Builder. This is a debug check in GWB and can be disabled by setting " + << "limit_debug_consistency_checks to false. " << "Depth = " << depth << ", radius = " << this->parameters.coordinate_system->max_model_depth() << ", point = " << point_[0] << " " << point_[1] << " " << point_[2] << ", radius-point.norm() = " << this->parameters.coordinate_system->max_model_depth()-sqrt(point_[0]*point_[0]+point_[1]*point_[1]+point_[2]*point_[2]));