Skip to content

Commit

Permalink
adiabatic InitialProfile will only run once now
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhei committed Jun 1, 2014
1 parent b872a6c commit d6e745c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/adiabatic_conditions/initial_profile.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ namespace aspect
void
InitialProfile<dim>::initialize()
{
if (initialized)
return;
delta_z = this->get_geometry_model().maximal_depth() / (n_points-1);

const unsigned int n_compositional_fields = this->n_compositional_fields();
Expand Down

0 comments on commit d6e745c

Please sign in to comment.