forked from dealii/dealii
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
48 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
272,273c272,273 | ||
271,272c271,272 | ||
< table.evaluate_all_convergence_rates( | ||
< ConvergenceTable::reduction_rate_log2); | ||
--- | ||
> //table.evaluate_all_convergence_rates( | ||
> // ConvergenceTable::reduction_rate_log2); | ||
357,358c357,358 | ||
356,357c356,357 | ||
< table.evaluate_all_convergence_rates( | ||
< ConvergenceTable::reduction_rate_log2); | ||
--- | ||
> //table.evaluate_all_convergence_rates( | ||
> // ConvergenceTable::reduction_rate_log2); | ||
360c360 | ||
359c359 | ||
< table.set_precision("eval.pi", 16); | ||
--- | ||
> table.set_precision("eval.pi", 14); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
1317c1317 | ||
1315c1315 | ||
< if (solver.n_dofs() < 20000) | ||
--- | ||
> if (solver.n_dofs() < 5000) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
684c684 | ||
586c586 | ||
< while (last_residual_norm > 1e-2); | ||
--- | ||
> while (last_residual_norm > 1e-1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
991c991 | ||
1061c1061 | ||
< test1.run(12); | ||
--- | ||
> test1.run(3); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
74c74 | ||
73c73 | ||
< const unsigned int degree_finite_element = 8; | ||
--- | ||
> const unsigned int degree_finite_element = 5; | ||
1232c1232 | ||
1231c1231 | ||
< smoother_data[level].eig_cg_n_iterations = 10; | ||
--- | ||
> smoother_data[level].eig_cg_n_iterations = 15; | ||
1236,1237c1236,1238 | ||
1235,1236c1235,1237 | ||
< smoother_data[0].smoothing_range = 2e-2; | ||
< smoother_data[0].degree = numbers::invalid_unsigned_int; | ||
--- | ||
> smoother_data[0].smoothing_range = 100; | ||
> smoother_data[0].degree = 15; | ||
> smoother_data[0].max_eigenvalue = 4; | ||
1239a1241,1242 | ||
1238a1240,1241 | ||
> smoother_data[level].eigenvalue_algorithm = | ||
> internal::EigenvalueAlgorithm::power_iteration; | ||
1266d1268 | ||
1265d1267 | ||
< pcout << "Total setup time " << setup_time << " s\n"; | ||
1272,1273c1274,1275 | ||
1271,1272c1273,1274 | ||
< pcout << "Time solve (" << solver_control.last_step() << " iterations) " | ||
< << time.wall_time() << " s" << std::endl; | ||
--- | ||
> pcout << "Time solve (" << solver_control.last_step() << " iterations) " | ||
> << std::endl; | ||
1320c1322 | ||
1319c1321 | ||
< for (unsigned int cycle = 0; cycle < 9 - dim; ++cycle) | ||
--- | ||
> for (unsigned int cycle = 0; cycle < 3; ++cycle) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
524c524 | ||
521c521 | ||
< for (unsigned int cycle = 0; cycle < 8; ++cycle) | ||
--- | ||
> for (unsigned int cycle = 0; cycle < 6; ++cycle) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
75c75 | ||
74c74 | ||
< constexpr unsigned int n_global_refinements = 3; | ||
--- | ||
> constexpr unsigned int n_global_refinements = 2; | ||
82c82 | ||
81c81 | ||
< constexpr double final_time = testcase == 0 ? 10 : 2.0; | ||
--- | ||
> constexpr double final_time = testcase == 0 ? 5 : 2.0; | ||
2171,2173c2171 | ||
2169,2171c2169 | ||
< const std::string filename = | ||
< "solution_" + Utilities::int_to_string(result_number, 3) + ".vtu"; | ||
< data_out.write_vtu_in_parallel(filename, MPI_COMM_WORLD); | ||
--- | ||
> (void)result_number; | ||
2196,2198d2193 | ||
2194,2196d2191 | ||
< const unsigned int n_vect_number = VectorizedArray<Number>::size(); | ||
< const unsigned int n_vect_bits = 8 * sizeof(Number) * n_vect_number; | ||
< | ||
2202,2206d2196 | ||
2200,2204d2194 | ||
< pcout << "Vectorization over " << n_vect_number << ' ' | ||
< << (std::is_same_v<Number, double> ? "doubles" : "floats") << " = " | ||
< << n_vect_bits << " bits (" | ||
< << Utilities::System::get_current_vectorization_level() << ')' | ||
< << std::endl; | ||
2284d2273 | ||
2282d2271 | ||
< timer.print_wall_time_statistics(MPI_COMM_WORLD); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
958c958 | ||
957c957 | ||
< (refinement_mode == global_refinement) ? 5 : 9; | ||
--- | ||
> (refinement_mode == global_refinement) ? 3 : 6; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
66,67c66,67 | ||
65,66c65,66 | ||
< constexpr unsigned int n_global_refinements = 2; | ||
< constexpr unsigned int fe_degree = 5; | ||
--- | ||
> constexpr unsigned int n_global_refinements = 1; | ||
> constexpr unsigned int fe_degree = 3; | ||
89c89 | ||
88c88 | ||
< constexpr double final_time = testcase == 0 ? 10 : 2.0; | ||
--- | ||
> constexpr double final_time = testcase == 0 ? 10 : 0.5; | ||
1507,1509c1507 | ||
1506,1508c1506 | ||
< const std::string filename = | ||
< "solution_" + Utilities::int_to_string(result_number, 3) + ".vtu"; | ||
< data_out.write_vtu_in_parallel(filename, MPI_COMM_WORLD); | ||
--- | ||
> (void)result_number; | ||
1519,1521d1516 | ||
1518,1520d1515 | ||
< const unsigned int n_vect_number = VectorizedArrayType::size(); | ||
< const unsigned int n_vect_bits = 8 * sizeof(Number) * n_vect_number; | ||
< | ||
1525,1529d1519 | ||
1524,1528d1518 | ||
< pcout << "Vectorization over " << n_vect_number << ' ' | ||
< << (std::is_same_v<Number, double> ? "doubles" : "floats") << " = " | ||
< << n_vect_bits << " bits (" | ||
< << Utilities::System::get_current_vectorization_level() << ')' | ||
< << std::endl; | ||
1593d1582 | ||
1592d1581 | ||
< timer.print_wall_time_statistics(MPI_COMM_WORLD); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
589c589 | ||
602c602 | ||
< for (unsigned int cycle = 0; cycle < 8; ++cycle) | ||
--- | ||
> for (unsigned int cycle = 0; cycle < 5; ++cycle) |