Skip to content

Commit c342462

Browse files
authored
Merge pull request #6415 from alarshi/code_cleanup
Undo the previous change of moving a private member in class.
2 parents 25755ff + a1a16e4 commit c342462

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

include/aspect/geometry_model/spherical_shell.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,13 +153,12 @@ namespace aspect
153153
*/
154154
double topography_for_point (const Point<dim> &x_y_z) const;
155155

156+
private:
156157
/**
157158
* A pointer to the topography model.
158159
*/
159160
const InitialTopographyModel::Interface<dim> *topo;
160161

161-
private:
162-
163162
/**
164163
* Inner and outer radii of the spherical shell.
165164
*/

source/geometry_model/spherical_shell.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ namespace aspect
713713
double
714714
SphericalShell<dim>::maximal_depth() const
715715
{
716-
return R1 + manifold->topo->max_topography() - R0;
716+
return R1 + this->get_initial_topography_model().max_topography() - R0;
717717
}
718718

719719

0 commit comments

Comments
 (0)