We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 25755ff + a1a16e4 commit c342462Copy full SHA for c342462
include/aspect/geometry_model/spherical_shell.h
@@ -153,13 +153,12 @@ namespace aspect
153
*/
154
double topography_for_point (const Point<dim> &x_y_z) const;
155
156
+ private:
157
/**
158
* A pointer to the topography model.
159
160
const InitialTopographyModel::Interface<dim> *topo;
161
- private:
162
-
163
164
* Inner and outer radii of the spherical shell.
165
source/geometry_model/spherical_shell.cc
@@ -713,7 +713,7 @@ namespace aspect
713
double
714
SphericalShell<dim>::maximal_depth() const
715
{
716
- return R1 + manifold->topo->max_topography() - R0;
+ return R1 + this->get_initial_topography_model().max_topography() - R0;
717
}
718
719
0 commit comments