From e3b7f5ec2f629f6516a9d68e55637468c161f9d0 Mon Sep 17 00:00:00 2001 From: Romain Boman <r.boman@uliege.be> Date: Sat, 7 Jan 2023 11:22:27 +0100 Subject: [PATCH] use clang-format-14 as in docker image (ubuntu 22.04) --- .gitlab-ci.yml | 2 +- fwk/_src/wCppBuf2Py.h | 4 ++-- fwk/src/fwk.cpp | 4 ++-- fwk/src/fwk.h | 2 +- fwk/src/wExtract.h | 2 +- fwk/src/wHMSTime.h | 2 +- fwk/src/wObject.h | 2 +- fwk/src/wObserver.h | 2 +- fwk/src/wTime.h | 8 ++++---- fwk/src/wTimer.h | 2 +- fwk/src/wTimers.h | 2 +- fwk/src/wTimes.h | 2 +- scripts/format_code.py | 2 +- tbox/src/eigen_extra.h | 2 +- tbox/src/std_extra.h | 2 +- tbox/src/tbox.h | 2 +- tbox/src/wCache.h | 2 +- tbox/src/wCacheHex8.h | 2 +- tbox/src/wCacheLine2.h | 2 +- tbox/src/wCachePoint1.h | 2 +- tbox/src/wCacheQuad4.h | 2 +- tbox/src/wCacheTetra4.h | 2 +- tbox/src/wCacheTri3.h | 2 +- tbox/src/wElement.h | 2 +- tbox/src/wFct0.cpp | 2 +- tbox/src/wFct0.h | 2 +- tbox/src/wFct1.h | 2 +- tbox/src/wFct2.cpp | 2 +- tbox/src/wFct2.h | 4 ++-- tbox/src/wGauss.h | 2 +- tbox/src/wGaussHex8.h | 2 +- tbox/src/wGaussLine2.h | 2 +- tbox/src/wGaussQuad4.h | 2 +- tbox/src/wGaussTetra4.h | 2 +- tbox/src/wGaussTri3.h | 2 +- tbox/src/wGmshImport.h | 2 +- tbox/src/wGroup.cpp | 2 +- tbox/src/wGroup.h | 2 +- tbox/src/wGroups.h | 2 +- tbox/src/wHex8.h | 2 +- tbox/src/wLazy.h | 4 ++-- tbox/src/wLine2.h | 2 +- tbox/src/wLinesearch.h | 6 +++--- tbox/src/wMshConvert.cpp | 8 ++++---- tbox/src/wMshConvert.h | 2 +- tbox/src/wMshData.h | 2 +- tbox/src/wMshImport.h | 2 +- tbox/src/wMumps.cpp | 2 +- tbox/src/wMumps.h | 2 +- tbox/src/wNode.h | 2 +- tbox/src/wPoint1.h | 2 +- tbox/src/wQuad4.h | 2 +- tbox/src/wResults.h | 2 +- tbox/src/wSfHex8.h | 2 +- tbox/src/wSfLine2.h | 2 +- tbox/src/wSfQuad4.h | 2 +- tbox/src/wSfTetra4.h | 2 +- tbox/src/wSfTri3.h | 2 +- tbox/src/wSparseLu.h | 2 +- tbox/src/wTag.h | 2 +- tbox/src/wTetra4.h | 2 +- tbox/src/wTri3.h | 2 +- tbox/src/wUnitTest.h | 2 +- tboxVtk/src/tboxVtk.h | 2 +- 64 files changed, 76 insertions(+), 76 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 162f5c5..83d8ec9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,7 +19,7 @@ format: <<: *global_tag_def stage: build script: - - clang-format --version # the use should use this version too! + - clang-format --version # the user should use this version too! - ./scripts/format_code.py - mkdir -p patches - if git diff --patch --exit-code > patches/clang-format.patch; then echo "Clang format changed nothing"; else echo "Clang format found changes to make!"; false; fi diff --git a/fwk/_src/wCppBuf2Py.h b/fwk/_src/wCppBuf2Py.h index 7dafad9..91927d9 100644 --- a/fwk/_src/wCppBuf2Py.h +++ b/fwk/_src/wCppBuf2Py.h @@ -49,7 +49,7 @@ protected: virtual std::streamsize xsputn(const char *s, std::streamsize n); virtual int_type overflow(int c); }; -#endif //SWIG +#endif // SWIG /** * @brief redirect std::cout/std::cerr to python sys.stdout/sys.stderr @@ -66,4 +66,4 @@ public: static void test(); }; -#endif //CPPBUF2PY_H +#endif // CPPBUF2PY_H diff --git a/fwk/src/fwk.cpp b/fwk/src/fwk.cpp index 9f54df7..9b1e04b 100644 --- a/fwk/src/fwk.cpp +++ b/fwk/src/fwk.cpp @@ -34,7 +34,7 @@ FWK_API void testswig(bool i) // testswig(3.0) displays 1 (no error and cast flo /** * @brief Enable Floating Point Exception - * + * * Imported from Metafor * @authors Adrien Crovato */ @@ -55,7 +55,7 @@ FWK_API void enableFpe() #else // defined(WIN32) std::cout << ANSI_COLOR_YELLOW << "Floating-Point Exceptions not implemented for this compiler!" << ANSI_COLOR_RESET << std::endl; #endif -#endif //!defined(__MINGW32__) +#endif //! defined(__MINGW32__) } /** diff --git a/fwk/src/fwk.h b/fwk/src/fwk.h index aa82a1d..2505856 100644 --- a/fwk/src/fwk.h +++ b/fwk/src/fwk.h @@ -64,4 +64,4 @@ FWK_API void testswig(bool i); FWK_API void enableFpe(); FWK_API void disableFpe(); -#endif //FWK_H +#endif // FWK_H diff --git a/fwk/src/wExtract.h b/fwk/src/wExtract.h index d6ee003..b2df4a9 100644 --- a/fwk/src/wExtract.h +++ b/fwk/src/wExtract.h @@ -41,4 +41,4 @@ public: } // namespace fwk -#endif //WEXTRACT_H +#endif // WEXTRACT_H diff --git a/fwk/src/wHMSTime.h b/fwk/src/wHMSTime.h index 6af798d..5f541bf 100644 --- a/fwk/src/wHMSTime.h +++ b/fwk/src/wHMSTime.h @@ -43,4 +43,4 @@ public: }; } // namespace fwk -#endif //WHMSTIME_H +#endif // WHMSTIME_H diff --git a/fwk/src/wObject.h b/fwk/src/wObject.h index 663a8b9..ca4b23a 100644 --- a/fwk/src/wObject.h +++ b/fwk/src/wObject.h @@ -71,4 +71,4 @@ public: } // namespace fwk -#endif //WOBJECT_H +#endif // WOBJECT_H diff --git a/fwk/src/wObserver.h b/fwk/src/wObserver.h index cabc058..43ba5ad 100644 --- a/fwk/src/wObserver.h +++ b/fwk/src/wObserver.h @@ -36,4 +36,4 @@ public: } // namespace fwk -#endif //WOBSERVER_H +#endif // WOBSERVER_H diff --git a/fwk/src/wTime.h b/fwk/src/wTime.h index c782967..c6e6077 100644 --- a/fwk/src/wTime.h +++ b/fwk/src/wTime.h @@ -59,7 +59,7 @@ public: Int64Time operator-(Int64Time const &obj) const { return Int64Time(time - obj.time); } }; -#else //WIN32 +#else // WIN32 class FWK_API UnixClockTime : public Time { @@ -73,7 +73,7 @@ public: UnixClockTime operator-(UnixClockTime const &obj) const { return UnixClockTime(time - obj.time); } }; -#endif //WIN32 +#endif // WIN32 //----------------------------------------------------------------------------------------- @@ -109,7 +109,7 @@ public: DblTime operator-(DblTime const &obj) const { return DblTime(time - obj.time); } }; -#endif //SWIG +#endif // SWIG }; // namespace fwk -#endif //WTIME_H +#endif // WTIME_H diff --git a/fwk/src/wTimer.h b/fwk/src/wTimer.h index 2a96058..86a97b8 100644 --- a/fwk/src/wTimer.h +++ b/fwk/src/wTimer.h @@ -53,4 +53,4 @@ public: #endif }; }; // namespace fwk -#endif //TIMER_H +#endif // TIMER_H diff --git a/fwk/src/wTimers.h b/fwk/src/wTimers.h index 779994b..80d385b 100644 --- a/fwk/src/wTimers.h +++ b/fwk/src/wTimers.h @@ -44,4 +44,4 @@ public: #endif }; }; // namespace fwk -#endif //TIMERS_H +#endif // TIMERS_H diff --git a/fwk/src/wTimes.h b/fwk/src/wTimes.h index 42c17ce..d71a593 100644 --- a/fwk/src/wTimes.h +++ b/fwk/src/wTimes.h @@ -72,4 +72,4 @@ public: #include "wTimes.inl" }; // namespace fwk -#endif //WTIMES_H +#endif // WTIMES_H diff --git a/scripts/format_code.py b/scripts/format_code.py index 15e3afc..a976b08 100755 --- a/scripts/format_code.py +++ b/scripts/format_code.py @@ -43,7 +43,7 @@ def main(): encs = {} for f in all_files(os.getcwd(), patterns='*.cpp;*.c;*.h;*.hpp'): # print(f) - cmd = ['clang-format', "-style=file", "-i", f] + cmd = ['clang-format-14', "-style=file", "-i", f] retcode = subprocess.call(cmd) if retcode != 0: print(f'ERROR: retcode = {retcode}') diff --git a/tbox/src/eigen_extra.h b/tbox/src/eigen_extra.h index 09559a7..3267cff 100644 --- a/tbox/src/eigen_extra.h +++ b/tbox/src/eigen_extra.h @@ -28,4 +28,4 @@ TBOX_API void tomatlab(std::string const &fname, Eigen::SparseMatrix<double> const &A); } -#endif //EIGEN_EXTRA_H +#endif // EIGEN_EXTRA_H diff --git a/tbox/src/std_extra.h b/tbox/src/std_extra.h index 16b70c1..1a3a0fc 100644 --- a/tbox/src/std_extra.h +++ b/tbox/src/std_extra.h @@ -40,4 +40,4 @@ ostream &operator<<(ostream &out, vector<T> const &v) } // namespace std -#endif //STD_EXTRA_H +#endif // STD_EXTRA_H diff --git a/tbox/src/tbox.h b/tbox/src/tbox.h index d136502..cae0a4b 100644 --- a/tbox/src/tbox.h +++ b/tbox/src/tbox.h @@ -109,4 +109,4 @@ class UnitTest; } // namespace tbox -#endif //TBOX_H +#endif // TBOX_H diff --git a/tbox/src/wCache.h b/tbox/src/wCache.h index f20921c..bbca455 100644 --- a/tbox/src/wCache.h +++ b/tbox/src/wCache.h @@ -49,4 +49,4 @@ public: } // namespace tbox -#endif //WCACHE_H +#endif // WCACHE_H diff --git a/tbox/src/wCacheHex8.h b/tbox/src/wCacheHex8.h index 212dba3..e5f7321 100644 --- a/tbox/src/wCacheHex8.h +++ b/tbox/src/wCacheHex8.h @@ -43,4 +43,4 @@ public: } // namespace tbox -#endif //WCACHEHEX8_H +#endif // WCACHEHEX8_H diff --git a/tbox/src/wCacheLine2.h b/tbox/src/wCacheLine2.h index a912013..23aa9e3 100644 --- a/tbox/src/wCacheLine2.h +++ b/tbox/src/wCacheLine2.h @@ -43,4 +43,4 @@ public: } // namespace tbox -#endif //WCACHELINE2_H +#endif // WCACHELINE2_H diff --git a/tbox/src/wCachePoint1.h b/tbox/src/wCachePoint1.h index 9d5f290..11562c3 100644 --- a/tbox/src/wCachePoint1.h +++ b/tbox/src/wCachePoint1.h @@ -38,4 +38,4 @@ public: } // namespace tbox -#endif //WCACHEPOINT1_H +#endif // WCACHEPOINT1_H diff --git a/tbox/src/wCacheQuad4.h b/tbox/src/wCacheQuad4.h index 49a2fb1..03af2fd 100644 --- a/tbox/src/wCacheQuad4.h +++ b/tbox/src/wCacheQuad4.h @@ -43,4 +43,4 @@ public: } // namespace tbox -#endif //WCACHEQUAD4_H +#endif // WCACHEQUAD4_H diff --git a/tbox/src/wCacheTetra4.h b/tbox/src/wCacheTetra4.h index 4d1062f..1282ee6 100644 --- a/tbox/src/wCacheTetra4.h +++ b/tbox/src/wCacheTetra4.h @@ -43,4 +43,4 @@ public: } // namespace tbox -#endif //WCACHETETRA4_H +#endif // WCACHETETRA4_H diff --git a/tbox/src/wCacheTri3.h b/tbox/src/wCacheTri3.h index c7491eb..682c87a 100644 --- a/tbox/src/wCacheTri3.h +++ b/tbox/src/wCacheTri3.h @@ -43,4 +43,4 @@ public: } // namespace tbox -#endif //WCACHETRI3_H +#endif // WCACHETRI3_H diff --git a/tbox/src/wElement.h b/tbox/src/wElement.h index 000c0fc..d8e1c72 100644 --- a/tbox/src/wElement.h +++ b/tbox/src/wElement.h @@ -134,4 +134,4 @@ public: } // namespace tbox -#endif //WELEMENT_H +#endif // WELEMENT_H diff --git a/tbox/src/wFct0.cpp b/tbox/src/wFct0.cpp index 2f4618d..4c5d299 100644 --- a/tbox/src/wFct0.cpp +++ b/tbox/src/wFct0.cpp @@ -41,7 +41,7 @@ double PwLf::eval(double x) const auto it2 = it1; ++it2; if (it2 == pts.end()) - return it1->second; //fct is a constant + return it1->second; // fct is a constant auto it3 = it2; ++it3; diff --git a/tbox/src/wFct0.h b/tbox/src/wFct0.h index 591b6d5..63cc7ed 100644 --- a/tbox/src/wFct0.h +++ b/tbox/src/wFct0.h @@ -122,4 +122,4 @@ public: } // namespace tbox -#endif //WFCT0_H +#endif // WFCT0_H diff --git a/tbox/src/wFct1.h b/tbox/src/wFct1.h index f82320d..c967590 100644 --- a/tbox/src/wFct1.h +++ b/tbox/src/wFct1.h @@ -79,4 +79,4 @@ public: } // namespace tbox -#endif //WFCT1_H +#endif // WFCT1_H diff --git a/tbox/src/wFct2.cpp b/tbox/src/wFct2.cpp index 9abe21b..5d50c5f 100644 --- a/tbox/src/wFct2.cpp +++ b/tbox/src/wFct2.cpp @@ -105,7 +105,7 @@ void Fct2UdU::eval(Element const &e, for (size_t i = 0; i < e.nodes.size(); ++i) upg += ff(i) * u[e.nodes[i]->row]; - //gradU au pg => gradupg + // gradU au pg => gradupg Eigen::VectorXd gradupg = e.computeGradient(u, k); this->eval(e, k, upg, gradupg, out, fake); diff --git a/tbox/src/wFct2.h b/tbox/src/wFct2.h index ed200d7..86f49fb 100644 --- a/tbox/src/wFct2.h +++ b/tbox/src/wFct2.h @@ -28,7 +28,7 @@ namespace tbox /** * @brief Matrix functions to be integrated over an element - * + * * eval() evaluates the function at kth Gauss point * @authors Romain Boman */ @@ -138,4 +138,4 @@ public: } // namespace tbox -#endif //WFCT2_H +#endif // WFCT2_H diff --git a/tbox/src/wGauss.h b/tbox/src/wGauss.h index 02409ad..c22be94 100644 --- a/tbox/src/wGauss.h +++ b/tbox/src/wGauss.h @@ -48,4 +48,4 @@ public: } // namespace tbox -#endif //WGAUSS_H +#endif // WGAUSS_H diff --git a/tbox/src/wGaussHex8.h b/tbox/src/wGaussHex8.h index 7208fca..35054b6 100644 --- a/tbox/src/wGaussHex8.h +++ b/tbox/src/wGaussHex8.h @@ -35,4 +35,4 @@ public: } // namespace tbox -#endif //WGAUSSHEX8_H +#endif // WGAUSSHEX8_H diff --git a/tbox/src/wGaussLine2.h b/tbox/src/wGaussLine2.h index f836fba..b6023ab 100644 --- a/tbox/src/wGaussLine2.h +++ b/tbox/src/wGaussLine2.h @@ -35,4 +35,4 @@ public: } // namespace tbox -#endif //WGAUSSLINE2_H +#endif // WGAUSSLINE2_H diff --git a/tbox/src/wGaussQuad4.h b/tbox/src/wGaussQuad4.h index e2a5c85..b55d12b 100644 --- a/tbox/src/wGaussQuad4.h +++ b/tbox/src/wGaussQuad4.h @@ -35,4 +35,4 @@ public: } // namespace tbox -#endif //WGAUSSQUAD4_H +#endif // WGAUSSQUAD4_H diff --git a/tbox/src/wGaussTetra4.h b/tbox/src/wGaussTetra4.h index abc4dae..17ced4b 100644 --- a/tbox/src/wGaussTetra4.h +++ b/tbox/src/wGaussTetra4.h @@ -35,4 +35,4 @@ public: } // namespace tbox -#endif //WGAUSSTETRA4_H +#endif // WGAUSSTETRA4_H diff --git a/tbox/src/wGaussTri3.h b/tbox/src/wGaussTri3.h index ee8291c..e708d5f 100644 --- a/tbox/src/wGaussTri3.h +++ b/tbox/src/wGaussTri3.h @@ -35,4 +35,4 @@ public: } // namespace tbox -#endif //WGAUSSTRI3_H +#endif // WGAUSSTRI3_H diff --git a/tbox/src/wGmshImport.h b/tbox/src/wGmshImport.h index 6afac56..611d95b 100644 --- a/tbox/src/wGmshImport.h +++ b/tbox/src/wGmshImport.h @@ -59,4 +59,4 @@ public: } // namespace tbox -#endif //WGMSHIMPORT_H +#endif // WGMSHIMPORT_H diff --git a/tbox/src/wGroup.cpp b/tbox/src/wGroup.cpp index b271543..dc86d74 100644 --- a/tbox/src/wGroup.cpp +++ b/tbox/src/wGroup.cpp @@ -47,7 +47,7 @@ Group::Group(std::shared_ptr<MshData> _msh, std::string const &name) : wSharedOb auto itn(it); ++itn; out << (it->first) << ((itn != msh->ntags.end()) ? ", " : "\n\n"); - //out << (it->first) << ((std::next(it)!=msh->ntags.end())? ", " : "\n\n"); + // out << (it->first) << ((std::next(it)!=msh->ntags.end())? ", " : "\n\n"); } throw std::out_of_range(out.str()); } diff --git a/tbox/src/wGroup.h b/tbox/src/wGroup.h index fd3e155..b86cfb8 100644 --- a/tbox/src/wGroup.h +++ b/tbox/src/wGroup.h @@ -43,4 +43,4 @@ public: } // namespace tbox -#endif //WGROUP_H +#endif // WGROUP_H diff --git a/tbox/src/wGroups.h b/tbox/src/wGroups.h index 895fabc..f53f2ff 100644 --- a/tbox/src/wGroups.h +++ b/tbox/src/wGroups.h @@ -45,4 +45,4 @@ public: } // namespace tbox -#endif //WGROUPS_H +#endif // WGROUPS_H diff --git a/tbox/src/wHex8.h b/tbox/src/wHex8.h index fb3e427..168f615 100644 --- a/tbox/src/wHex8.h +++ b/tbox/src/wHex8.h @@ -57,4 +57,4 @@ public: } // namespace tbox -#endif //WHEX8_H +#endif // WHEX8_H diff --git a/tbox/src/wLazy.h b/tbox/src/wLazy.h index ae5568d..6b79e5e 100644 --- a/tbox/src/wLazy.h +++ b/tbox/src/wLazy.h @@ -42,7 +42,7 @@ public: ~Lazy() { delete static_cast<T *>(value); - //std::cout << "lazy pointer deleted\n"; + // std::cout << "lazy pointer deleted\n"; } T &get() { @@ -58,4 +58,4 @@ public: } // namespace tbox -#endif //WLAZY_H +#endif // WLAZY_H diff --git a/tbox/src/wLine2.h b/tbox/src/wLine2.h index d87928f..2018cb3 100644 --- a/tbox/src/wLine2.h +++ b/tbox/src/wLine2.h @@ -63,4 +63,4 @@ public: } // namespace tbox -#endif //WLINE2_H +#endif // WLINE2_H diff --git a/tbox/src/wLinesearch.h b/tbox/src/wLinesearch.h index 729fc26..60f5c6b 100644 --- a/tbox/src/wLinesearch.h +++ b/tbox/src/wLinesearch.h @@ -81,7 +81,7 @@ public: /** * @brief 3-points quadratic linesearch - * + * * Implemented following Prof. Fleury notes, University of Liege * @authors Romain Boman, Adrien Crovato */ @@ -105,7 +105,7 @@ public: /** * @brief Bank and Rose linesearch - * + * * Implemented following Bank and Rose, Global Approximate Newton Methods, Numerische Mathematik * www.math.hcmuns.edu.vn/~tangoc//bbmot.pdf * @authors Adrien Crovato @@ -124,4 +124,4 @@ public: #endif -#endif //WLINESEARCH_H +#endif // WLINESEARCH_H diff --git a/tbox/src/wMshConvert.cpp b/tbox/src/wMshConvert.cpp index dd48f05..7851871 100644 --- a/tbox/src/wMshConvert.cpp +++ b/tbox/src/wMshConvert.cpp @@ -54,9 +54,9 @@ void MshConvert::ansys_gmsh(std::string const &fname1, std::string const &fname2 if (!read_file) throw std::runtime_error("Error opening file 1 (load)"); - //FILE *written_file = fopen(fname2.c_str(),"w"); - //if (!written_file) - // throw std::runtime_error("Error opening file 2 (load)"); + // FILE *written_file = fopen(fname2.c_str(),"w"); + // if (!written_file) + // throw std::runtime_error("Error opening file 2 (load)"); std::ofstream written_file; written_file.open(fname2); @@ -221,7 +221,7 @@ void MshConvert::ansys_gmsh(std::string const &fname1, std::string const &fname2 continue; sets_elems[ii].push_back(output.str()); - //break; + // break; } } } diff --git a/tbox/src/wMshConvert.h b/tbox/src/wMshConvert.h index 193e4a8..14e6abe 100644 --- a/tbox/src/wMshConvert.h +++ b/tbox/src/wMshConvert.h @@ -45,4 +45,4 @@ public: } // namespace tbox -#endif //WMSHCONVERT_H \ No newline at end of file +#endif // WMSHCONVERT_H \ No newline at end of file diff --git a/tbox/src/wMshData.h b/tbox/src/wMshData.h index d3d99f6..b41d433 100644 --- a/tbox/src/wMshData.h +++ b/tbox/src/wMshData.h @@ -54,4 +54,4 @@ public: } // namespace tbox -#endif //WMSHDATA_H +#endif // WMSHDATA_H diff --git a/tbox/src/wMshImport.h b/tbox/src/wMshImport.h index 07ebcf5..af9e83f 100644 --- a/tbox/src/wMshImport.h +++ b/tbox/src/wMshImport.h @@ -44,4 +44,4 @@ public: } // namespace tbox -#endif //WMSHIMPORT_H +#endif // WMSHIMPORT_H diff --git a/tbox/src/wMumps.cpp b/tbox/src/wMumps.cpp index 766bda3..75027d0 100644 --- a/tbox/src/wMumps.cpp +++ b/tbox/src/wMumps.cpp @@ -39,7 +39,7 @@ Mumps::Mumps() : LinearSolver() id.ICNTL(3) = -1; // stream for global information [def=6] id.ICNTL(4) = 0; // level of printing [def=2] // Matrix re-ordering - //0 : amd, 2 : amf, 3 : scotch, 4 : pord, 5 : metis, 6 :qamd, 7 : auto [def=7] + // 0 : amd, 2 : amf, 3 : scotch, 4 : pord, 5 : metis, 6 :qamd, 7 : auto [def=7] id.ICNTL(7) = 3; // defaults to scotch because mumps comes witch scotch if installed using apt // Error analysis id.ICNTL(11) = 0; // disabled diff --git a/tbox/src/wMumps.h b/tbox/src/wMumps.h index 535aa6f..dae62bd 100644 --- a/tbox/src/wMumps.h +++ b/tbox/src/wMumps.h @@ -34,7 +34,7 @@ namespace tbox /** * @brief MUMPS interface - * + * * Reference: https://github.com/rboman/math0471/blob/master/mumps/main.cpp * Reference gmm_MUMPS_interface.h (old) * @authors Adrien Crovato diff --git a/tbox/src/wNode.h b/tbox/src/wNode.h index afcfd7e..a1cf7a9 100644 --- a/tbox/src/wNode.h +++ b/tbox/src/wNode.h @@ -46,4 +46,4 @@ public: } // namespace tbox -#endif //WNODE_H +#endif // WNODE_H diff --git a/tbox/src/wPoint1.h b/tbox/src/wPoint1.h index b905db0..742047a 100644 --- a/tbox/src/wPoint1.h +++ b/tbox/src/wPoint1.h @@ -40,4 +40,4 @@ private: } // namespace tbox -#endif //WPOINT1_H +#endif // WPOINT1_H diff --git a/tbox/src/wQuad4.h b/tbox/src/wQuad4.h index e50f121..2deb4a4 100644 --- a/tbox/src/wQuad4.h +++ b/tbox/src/wQuad4.h @@ -61,4 +61,4 @@ public: } // namespace tbox -#endif //WQUAD4_H +#endif // WQUAD4_H diff --git a/tbox/src/wResults.h b/tbox/src/wResults.h index 7ffa42f..ee04bb7 100644 --- a/tbox/src/wResults.h +++ b/tbox/src/wResults.h @@ -55,4 +55,4 @@ public: } // namespace tbox -#endif //WRESULTS_H +#endif // WRESULTS_H diff --git a/tbox/src/wSfHex8.h b/tbox/src/wSfHex8.h index 0e59911..0692b3b 100644 --- a/tbox/src/wSfHex8.h +++ b/tbox/src/wSfHex8.h @@ -37,4 +37,4 @@ public: } // namespace tbox -#endif //WSFHEX8_H +#endif // WSFHEX8_H diff --git a/tbox/src/wSfLine2.h b/tbox/src/wSfLine2.h index d29ad34..d96c0df 100644 --- a/tbox/src/wSfLine2.h +++ b/tbox/src/wSfLine2.h @@ -37,4 +37,4 @@ public: } // namespace tbox -#endif //WSFLINE2_H +#endif // WSFLINE2_H diff --git a/tbox/src/wSfQuad4.h b/tbox/src/wSfQuad4.h index 93ef0da..3867974 100644 --- a/tbox/src/wSfQuad4.h +++ b/tbox/src/wSfQuad4.h @@ -37,4 +37,4 @@ public: } // namespace tbox -#endif //WSFQUAD4_H +#endif // WSFQUAD4_H diff --git a/tbox/src/wSfTetra4.h b/tbox/src/wSfTetra4.h index f40e832..5ad8c8d 100644 --- a/tbox/src/wSfTetra4.h +++ b/tbox/src/wSfTetra4.h @@ -37,4 +37,4 @@ public: } // namespace tbox -#endif //WSFTETRA4_H +#endif // WSFTETRA4_H diff --git a/tbox/src/wSfTri3.h b/tbox/src/wSfTri3.h index 5e8f228..a9aeba7 100644 --- a/tbox/src/wSfTri3.h +++ b/tbox/src/wSfTri3.h @@ -37,4 +37,4 @@ public: } // namespace tbox -#endif //WSFTRI3_H +#endif // WSFTRI3_H diff --git a/tbox/src/wSparseLu.h b/tbox/src/wSparseLu.h index 84e7abe..6055f38 100644 --- a/tbox/src/wSparseLu.h +++ b/tbox/src/wSparseLu.h @@ -27,7 +27,7 @@ namespace tbox /** * @brief SparseLU interface - * + * * Note that SparseLU should be used with ColMajor matrices * @authors Adrien Crovato */ diff --git a/tbox/src/wTag.h b/tbox/src/wTag.h index 0c264e6..aeacc3e 100644 --- a/tbox/src/wTag.h +++ b/tbox/src/wTag.h @@ -57,4 +57,4 @@ public: } // namespace tbox -#endif //WTAG_H +#endif // WTAG_H diff --git a/tbox/src/wTetra4.h b/tbox/src/wTetra4.h index af66938..8e9ddfb 100644 --- a/tbox/src/wTetra4.h +++ b/tbox/src/wTetra4.h @@ -60,4 +60,4 @@ public: } // namespace tbox -#endif //WTETRA4_H +#endif // WTETRA4_H diff --git a/tbox/src/wTri3.h b/tbox/src/wTri3.h index 6dab1db..29b83a8 100644 --- a/tbox/src/wTri3.h +++ b/tbox/src/wTri3.h @@ -66,4 +66,4 @@ public: } // namespace tbox -#endif //WTRI3_H +#endif // WTRI3_H diff --git a/tbox/src/wUnitTest.h b/tbox/src/wUnitTest.h index 4a51567..576a4b3 100644 --- a/tbox/src/wUnitTest.h +++ b/tbox/src/wUnitTest.h @@ -41,4 +41,4 @@ public: } // namespace tbox -#endif //WUNITTEST_H +#endif // WUNITTEST_H diff --git a/tboxVtk/src/tboxVtk.h b/tboxVtk/src/tboxVtk.h index 9f9196d..91b0c70 100644 --- a/tboxVtk/src/tboxVtk.h +++ b/tboxVtk/src/tboxVtk.h @@ -40,4 +40,4 @@ namespace tboxVtk class vtkExport; } // namespace tboxVtk -#endif //TBOXVTK_H +#endif // TBOXVTK_H -- GitLab