Skip to content

Commit 33ce954

Browse files
fix typos and run make_indent
1 parent f91221e commit 33ce954

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

source/particle/manager.cc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,9 +1015,9 @@ namespace aspect
10151015
else if (deletion_algorithm_string == "random")
10161016
deletion_algorithm = DeletionAlgorithm::random;
10171017
else
1018-
{
1019-
AssertThrow(true, ExcNotImplemented());
1020-
}
1018+
{
1019+
AssertThrow(true, ExcNotImplemented());
1020+
}
10211021

10221022
// The kernel function to use when using the point density function particle removal algorithm
10231023
std::string kernel_function_string = prm.get("Point density kernel function");
@@ -1031,9 +1031,9 @@ namespace aspect
10311031
else if (kernel_function_string == "gaussian")
10321032
kernel_function = ParticlePDF<dim>::KernelFunction::gaussian;
10331033
else
1034-
{
1035-
AssertThrow(true, ExcNotImplemented());
1036-
}
1034+
{
1035+
AssertThrow(true, ExcNotImplemented());
1036+
}
10371037

10381038
TimerOutput::Scope timer_section(this->get_computing_timer(), "Particles: Initialization");
10391039

tests/particle_KDE_deletion.prm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This .prm file is intended to test the kernel density estimation
22
# based algorithm for deleting excess particles. The KDE-based algorithm
33
# generates a point-density function from the location of the particles
4-
# and removes the particles whose location represents the maxiumum of the
4+
# and removes the particles whose location represents the maximum of the
55
# point density function first. This method is intended to avoid some of the
66
# problems with particle clustering which are caused by randomly deleting
77
# excess particles.

0 commit comments

Comments
 (0)