From 2851c84e87b3a9377bb198ff80d391b3c98fb6b7 Mon Sep 17 00:00:00 2001 From: Danyal Mohaddes Date: Sat, 4 Sep 2021 11:28:02 -0700 Subject: [PATCH] Formatting for release --- CMakeLists.txt | 4 ++++ Liquid/FitLiquid.cpp | 6 +++++- Liquid/FitLiquid.h | 4 ++++ Liquid/Liquid.h | 4 ++++ Meshing.h | 4 ++++ RHSFunctor.cpp | 6 +++++- RHSFunctor.h | 4 ++++ Solver.cpp | 6 +++++- Solver.h | 6 +++++- SolverPhysics.cpp | 6 +++++- main.cpp | 6 +++++- 11 files changed, 50 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ecc8a44..4d4acef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,7 @@ +# This file is part of the 1D-HSI solver hosted at github.com/IhmeGroup/sprayHSI +# D. Mohaddes +# September 2021 + cmake_minimum_required(VERSION 3.9) project(Hiemenz_solver) diff --git a/Liquid/FitLiquid.cpp b/Liquid/FitLiquid.cpp index d49779c..8e52009 100644 --- a/Liquid/FitLiquid.cpp +++ b/Liquid/FitLiquid.cpp @@ -1,3 +1,7 @@ +// This file is part of the 1D-HSI solver hosted at github.com/IhmeGroup/sprayHSI +// D. Mohaddes +// September 2021 + // // Created by Danyal Mohaddes on 2/1/21. // @@ -154,4 +158,4 @@ double FitLiquid::D_satvap(double T, double p) const { FitLiquid::~FitLiquid(){ std::cout << "FitLiquid::~FitLiquid()" << std::endl; -} \ No newline at end of file +} diff --git a/Liquid/FitLiquid.h b/Liquid/FitLiquid.h index 8c31593..2d4ea31 100644 --- a/Liquid/FitLiquid.h +++ b/Liquid/FitLiquid.h @@ -1,3 +1,7 @@ +// This file is part of the 1D-HSI solver hosted at github.com/IhmeGroup/sprayHSI +// D. Mohaddes +// September 2021 + // // Created by Danyal Mohaddes on 2/1/21. // diff --git a/Liquid/Liquid.h b/Liquid/Liquid.h index 1db8924..2cb85c6 100644 --- a/Liquid/Liquid.h +++ b/Liquid/Liquid.h @@ -1,3 +1,7 @@ +// This file is part of the 1D-HSI solver hosted at github.com/IhmeGroup/sprayHSI +// D. Mohaddes +// September 2021 + // // Created by Danyal Mohaddes on 1/28/21. // diff --git a/Meshing.h b/Meshing.h index 07274ab..12c002b 100644 --- a/Meshing.h +++ b/Meshing.h @@ -1,3 +1,7 @@ +// This file is part of the 1D-HSI solver hosted at github.com/IhmeGroup/sprayHSI +// D. Mohaddes +// September 2021 + // // Created by Danyal Mohaddes on 10/20/20. // diff --git a/RHSFunctor.cpp b/RHSFunctor.cpp index 4d5a24e..b70b876 100644 --- a/RHSFunctor.cpp +++ b/RHSFunctor.cpp @@ -1,3 +1,7 @@ +// This file is part of the 1D-HSI solver hosted at github.com/IhmeGroup/sprayHSI +// D. Mohaddes +// September 2021 + // // Created by Danyal Mohaddes on 9/9/20. // @@ -21,4 +25,4 @@ int RHSFunctor::rhs(double t, double *ydata, double *ydotdata) { return -1; // unrecoverable error } return 0; -} \ No newline at end of file +} diff --git a/RHSFunctor.h b/RHSFunctor.h index 4442131..669c88e 100644 --- a/RHSFunctor.h +++ b/RHSFunctor.h @@ -1,3 +1,7 @@ +// This file is part of the 1D-HSI solver hosted at github.com/IhmeGroup/sprayHSI +// D. Mohaddes +// September 2021 + // // Created by Danyal Mohaddes on 9/9/20. // diff --git a/Solver.cpp b/Solver.cpp index 48524bf..e0d5d24 100644 --- a/Solver.cpp +++ b/Solver.cpp @@ -1,3 +1,7 @@ +// This file is part of the 1D-HSI solver hosted at github.com/IhmeGroup/sprayHSI +// D. Mohaddes +// September 2021 + // // Created by Danyal Mohaddes on 2020-02-28. // @@ -1647,4 +1651,4 @@ Solver::~Solver() { N_VDestroy_Serial(cvode_y); CVodeFree(&cvode_mem); } -} \ No newline at end of file +} diff --git a/Solver.h b/Solver.h index ec3d7f8..cee2599 100644 --- a/Solver.h +++ b/Solver.h @@ -1,3 +1,7 @@ +// This file is part of the 1D-HSI solver hosted at github.com/IhmeGroup/sprayHSI +// D. Mohaddes +// September 2021 + // // Created by Danyal Mohaddes on 2020-02-28. // @@ -270,4 +274,4 @@ class Solver { }; -#endif //HIEMENZ_SOLVER_SOLVER_H \ No newline at end of file +#endif //HIEMENZ_SOLVER_SOLVER_H diff --git a/SolverPhysics.cpp b/SolverPhysics.cpp index ecc5814..534eaac 100644 --- a/SolverPhysics.cpp +++ b/SolverPhysics.cpp @@ -1,3 +1,7 @@ +// This file is part of the 1D-HSI solver hosted at github.com/IhmeGroup/sprayHSI +// D. Mohaddes +// September 2021 + // // Created by Danyal Mohaddes on 2/4/21. // @@ -541,4 +545,4 @@ void Solver::SetSprayRHS(){ mdot_liq(i) = mdot_liq_; } -} \ No newline at end of file +} diff --git a/main.cpp b/main.cpp index 0cf8b4a..df4f0c5 100644 --- a/main.cpp +++ b/main.cpp @@ -1,3 +1,7 @@ +// This file is part of the 1D-HSI solver hosted at github.com/IhmeGroup/sprayHSI +// D. Mohaddes +// September 2021 + #include #include "Solver.h" #include @@ -48,4 +52,4 @@ int main(int argc, char* argv[]) { // Done. return 0; -} \ No newline at end of file +}