Skip to content

Commit 8a53156

Browse files
committed
Added requested modifications and fixed issues
1 parent 14808cb commit 8a53156

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

include/aspect/simulator.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1344,8 +1344,8 @@ namespace aspect
13441344
* This function is implemented in
13451345
* <code>source/simulator/helper_functions.cc</code>
13461346
*/
1347-
double perform_line_search(const DefectCorrectionResiduals &dcr,
1348-
const bool use_picard,
1347+
double perform_line_search(const DefectCorrectionResiduals &dcr,
1348+
const bool use_picard,
13491349
LinearAlgebra::BlockVector &search_direction);
13501350

13511351
/**

source/simulator/helper_functions.cc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2633,9 +2633,9 @@ namespace aspect
26332633
* Performs a Newton line search for the do_one_defect_correction_Stokes_step function
26342634
*/
26352635
template <int dim>
2636-
double Simulator<dim>::perform_line_search(const DefectCorrectionResiduals &dcr,
2637-
const bool use_picard,
2638-
LinearAlgebra::BlockVector &search_direction)
2636+
double Simulator<dim>::perform_line_search(const DefectCorrectionResiduals &dcr,
2637+
const bool use_picard,
2638+
LinearAlgebra::BlockVector &search_direction)
26392639
{
26402640
LinearAlgebra::BlockVector backup_linearization_point(introspection.index_sets.stokes_partitioning, mpi_communicator);
26412641
double step_length_factor = 1.0;
@@ -2866,8 +2866,8 @@ namespace aspect
28662866
template void Simulator<dim>::check_consistency_of_boundary_conditions() const; \
28672867
template double Simulator<dim>::compute_initial_newton_residual(); \
28682868
template double Simulator<dim>::perform_line_search(const DefectCorrectionResiduals &dcr, \
2869-
const bool use_picard, \
2870-
LinearAlgebra::BlockVector &search_direction); \
2869+
const bool use_picard, \
2870+
LinearAlgebra::BlockVector &search_direction); \
28712871
template double Simulator<dim>::compute_Eisenstat_Walker_linear_tolerance(const bool EisenstatWalkerChoiceOne, \
28722872
const double maximum_linear_stokes_solver_tolerance, \
28732873
const double linear_stokes_solver_tolerance, \

0 commit comments

Comments
 (0)