From 20b5c026bf3900009b603f4ae86d14b7ee523066 Mon Sep 17 00:00:00 2001 From: Luke Olson Date: Sat, 23 Dec 2023 15:20:31 -0600 Subject: [PATCH] spellcheck --- raptor/core/matrix.cpp | 2 +- raptor/core/par_matrix.hpp | 2 +- raptor/core/par_vector.hpp | 2 +- raptor/external/tests/test_petsc_wrapper.cpp | 2 +- raptor/gallery/matrix_market.hpp | 6 +++--- raptor/gallery/tests/test_stencil.cpp | 2 +- raptor/krylov/partial_inner.cpp | 2 +- raptor/multilevel/par_multilevel.hpp | 2 +- raptor/ruge_stuben/par_cf_splitting.cpp | 2 +- raptor/util/linalg/external/parmetis_wrapper.hpp | 2 +- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/raptor/core/matrix.cpp b/raptor/core/matrix.cpp index 0824888c..c9eb788d 100644 --- a/raptor/core/matrix.cpp +++ b/raptor/core/matrix.cpp @@ -871,7 +871,7 @@ void BSCMatrix::move_diag() /************************************************************** ***** Matrix Removes Duplicates ************************************************************** -***** Goes thorugh each sorted row, and removes duplicate +***** Goes through each sorted row, and removes duplicate ***** entries, summing associated values **************************************************************/ template diff --git a/raptor/core/par_matrix.hpp b/raptor/core/par_matrix.hpp index 71e147df..3e7c21c4 100644 --- a/raptor/core/par_matrix.hpp +++ b/raptor/core/par_matrix.hpp @@ -48,7 +48,7 @@ ***** ***** Methods ***** ------- - ***** initalize_partition() + ***** initialize_partition() ***** Determines which rows are local to process and which ***** columns fall in local block ***** add_value() diff --git a/raptor/core/par_vector.hpp b/raptor/core/par_vector.hpp index 82b7033f..4685e16a 100644 --- a/raptor/core/par_vector.hpp +++ b/raptor/core/par_vector.hpp @@ -70,7 +70,7 @@ namespace raptor /************************************************************** ***** ParVector Class Constructor ************************************************************** - ***** Creates an empy ParVector (local_n = 0) + ***** Creates an empty ParVector (local_n = 0) **************************************************************/ ParVector() { diff --git a/raptor/external/tests/test_petsc_wrapper.cpp b/raptor/external/tests/test_petsc_wrapper.cpp index bd365663..df95deb2 100644 --- a/raptor/external/tests/test_petsc_wrapper.cpp +++ b/raptor/external/tests/test_petsc_wrapper.cpp @@ -53,7 +53,7 @@ TEST(PetscWrapperTest, TestsInExternal) KSPGetResidualNorm(ksp, &rnorm); ASSERT_LE(rnorm, 1e-05); - // Detroy RAPtor Preconditioner + // Destroy RAPtor Preconditioner VecDestroy(&rhs); VecDestroy(&sol); MatDestroy(&pmat); diff --git a/raptor/gallery/matrix_market.hpp b/raptor/gallery/matrix_market.hpp index 93791036..83374b5d 100644 --- a/raptor/gallery/matrix_market.hpp +++ b/raptor/gallery/matrix_market.hpp @@ -31,7 +31,7 @@ int mm_write_mtx_crd_size(FILE *f, int M, int N, int nz); int mm_write_mtx_array_size(FILE *f, int M, int N); -/********************* MM_typecode query fucntions ***************************/ +/********************* MM_typecode query functions ***************************/ #define mm_is_matrix(typecode) ((typecode)[0]=='M') @@ -53,7 +53,7 @@ int mm_write_mtx_array_size(FILE *f, int M, int N); int mm_is_valid(MM_typecode matcode); /* too complex for a macro */ -/********************* MM_typecode modify fucntions ***************************/ +/********************* MM_typecode modify functions ***************************/ #define mm_set_matrix(typecode) ((*typecode)[0]='M') #define mm_set_coordinate(typecode) ((*typecode)[1]='C') @@ -94,7 +94,7 @@ int mm_is_valid(MM_typecode matcode); /* too complex for a macro */ MM_matrix_typecode: 4-character sequence - ojbect sparse/ data storage + object sparse/ data storage dense type scheme string position: [0] [1] [2] [3] diff --git a/raptor/gallery/tests/test_stencil.cpp b/raptor/gallery/tests/test_stencil.cpp index 07005a5c..ebe62ae1 100644 --- a/raptor/gallery/tests/test_stencil.cpp +++ b/raptor/gallery/tests/test_stencil.cpp @@ -26,7 +26,7 @@ TEST(StencilTest, TestsInGallery) std::vector A_python(16 * 16, 0); std::vector A_dense(16 * 16, 0); - // Add values ot A_python + // Add values of A_python int rows[100] = {0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, diff --git a/raptor/krylov/partial_inner.cpp b/raptor/krylov/partial_inner.cpp index 3adf7e85..9b81521a 100644 --- a/raptor/krylov/partial_inner.cpp +++ b/raptor/krylov/partial_inner.cpp @@ -183,7 +183,7 @@ void create_partial_inner_comm(RAPtor_MPI_Comm &inner_comm, RAPtor_MPI_Comm &roo procs_in_group = num_procs * frac; if (num_procs % 2) procs_in_group++; - // Split into contigous groups by color and get root for each group + // Split into contiguous groups by color and get root for each group my_inner_color = rank / procs_in_group; inner_root = my_inner_color * procs_in_group; if (rank == inner_root) my_root_color = 0; diff --git a/raptor/multilevel/par_multilevel.hpp b/raptor/multilevel/par_multilevel.hpp index 13726ff7..a55db77d 100644 --- a/raptor/multilevel/par_multilevel.hpp +++ b/raptor/multilevel/par_multilevel.hpp @@ -47,7 +47,7 @@ ***** - Jacobi: weighted jacobi for both on and off proc ***** - SOR: weighted jacobi off_proc, SOR on_proc ***** - SSOR : weighted jacobi off_proc, SSOR on_proc - ***** num_smooth_sweeps : int (defualt 1) + ***** num_smooth_sweeps : int (default 1) ***** Number of relaxation sweeps (both pre and post smoothing) ***** to be performed during each cycle of the AMG solve. ***** relax_weight : double diff --git a/raptor/ruge_stuben/par_cf_splitting.cpp b/raptor/ruge_stuben/par_cf_splitting.cpp index a8b5685d..fe16f520 100644 --- a/raptor/ruge_stuben/par_cf_splitting.cpp +++ b/raptor/ruge_stuben/par_cf_splitting.cpp @@ -678,7 +678,7 @@ void update_local_dist2_weights(const ParCSRMatrix* S, } } - // Go through each row i strongly conected to c, and see if any column + // Go through each row i strongly connected to c, and see if any column // in Si is also in c_dep_cache (and edge not already removed), reduce // weight and remove edge for (int j = start; j < end; j++) diff --git a/raptor/util/linalg/external/parmetis_wrapper.hpp b/raptor/util/linalg/external/parmetis_wrapper.hpp index 8360cf6b..6f04be6d 100644 --- a/raptor/util/linalg/external/parmetis_wrapper.hpp +++ b/raptor/util/linalg/external/parmetis_wrapper.hpp @@ -84,7 +84,7 @@ int* parmetis_partition(ParCSRMatrix* A) // Imbalance tolerance for each vertex weight // Array size ncon // Perfect balance: 1 - // Perfect imblance: nparts + // Perfect imbalance: nparts // Recommended: 1.05 std::vector ubvec(1, 1.05);