From f4adff599c728cd59e3f3b9014ff5fb9b8e227c0 Mon Sep 17 00:00:00 2001 From: "Charlton, Scott R" Date: Thu, 23 Sep 2021 06:37:13 -0700 Subject: [PATCH] added newlines for CRAN --- src/phreeqcpp/ChartObject.cpp | 2 +- src/phreeqcpp/CurveObject.cpp | 2 +- src/phreeqcpp/ExchComp.cxx | 2 +- src/phreeqcpp/ISolutionComp.cxx | 2 +- src/phreeqcpp/NA.h | 2 +- src/phreeqcpp/PhreeqcKeywords/Keywords.h | 2 +- src/phreeqcpp/Pressure.cxx | 2 +- src/phreeqcpp/Reaction.cxx | 2 +- src/phreeqcpp/SS.cxx | 2 +- src/phreeqcpp/SScomp.cxx | 2 +- src/phreeqcpp/Serializer.h | 2 +- src/phreeqcpp/Solution.cxx | 2 +- src/phreeqcpp/SurfaceCharge.cxx | 2 +- src/phreeqcpp/Temperature.cxx | 2 +- src/phreeqcpp/UserPunch.h | 2 +- src/phreeqcpp/common/PHRQ_base.cxx | 2 +- src/phreeqcpp/common/Parser.cxx | 2 +- src/phreeqcpp/cxxMix.cxx | 2 +- src/phreeqcpp/global_structures.h | 2 +- src/phreeqcpp/pitzer.cpp | 2 +- src/phreeqcpp/sit.cpp | 2 +- src/phreeqcpp/transport.cpp | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/phreeqcpp/ChartObject.cpp b/src/phreeqcpp/ChartObject.cpp index d6ab781b..9d6513ce 100644 --- a/src/phreeqcpp/ChartObject.cpp +++ b/src/phreeqcpp/ChartObject.cpp @@ -1379,4 +1379,4 @@ const std::vector< std::string >::value_type temp_vopts[] = { const std::vector< std::string > ChartObject::vopts(temp_vopts, temp_vopts + sizeof temp_vopts / sizeof temp_vopts[0]); -#endif // MULTICHART \ No newline at end of file +#endif // MULTICHART diff --git a/src/phreeqcpp/CurveObject.cpp b/src/phreeqcpp/CurveObject.cpp index 53410bdf..91e1e29c 100644 --- a/src/phreeqcpp/CurveObject.cpp +++ b/src/phreeqcpp/CurveObject.cpp @@ -39,4 +39,4 @@ CurveObject::~CurveObject() { } -#endif // MULTICHART \ No newline at end of file +#endif // MULTICHART diff --git a/src/phreeqcpp/ExchComp.cxx b/src/phreeqcpp/ExchComp.cxx index 89f47536..4072e49c 100644 --- a/src/phreeqcpp/ExchComp.cxx +++ b/src/phreeqcpp/ExchComp.cxx @@ -395,4 +395,4 @@ const std::vector< std::string >::value_type temp_vopts[] = { std::vector< std::string >::value_type("totals"), // 8 std::vector< std::string >::value_type("formula_totals") // 9 }; -const std::vector< std::string > cxxExchComp::vopts(temp_vopts, temp_vopts + sizeof temp_vopts / sizeof temp_vopts[0]); \ No newline at end of file +const std::vector< std::string > cxxExchComp::vopts(temp_vopts, temp_vopts + sizeof temp_vopts / sizeof temp_vopts[0]); diff --git a/src/phreeqcpp/ISolutionComp.cxx b/src/phreeqcpp/ISolutionComp.cxx index 81c57514..d9fd455f 100644 --- a/src/phreeqcpp/ISolutionComp.cxx +++ b/src/phreeqcpp/ISolutionComp.cxx @@ -199,4 +199,4 @@ read(const char *line_in, cxxSolution *solution_ptr) } return (CParser::PARSER_OK); -} \ No newline at end of file +} diff --git a/src/phreeqcpp/NA.h b/src/phreeqcpp/NA.h index 7f1afa93..3222c6cb 100644 --- a/src/phreeqcpp/NA.h +++ b/src/phreeqcpp/NA.h @@ -1 +1 @@ -#define NA -98.7654321 \ No newline at end of file +#define NA -98.7654321 diff --git a/src/phreeqcpp/PhreeqcKeywords/Keywords.h b/src/phreeqcpp/PhreeqcKeywords/Keywords.h index 7c5e3740..f812fb39 100644 --- a/src/phreeqcpp/PhreeqcKeywords/Keywords.h +++ b/src/phreeqcpp/PhreeqcKeywords/Keywords.h @@ -96,4 +96,4 @@ public: static const std::map phreeqc_keyword_names; }; -#endif // _INC_KEYWORDS_H \ No newline at end of file +#endif // _INC_KEYWORDS_H diff --git a/src/phreeqcpp/Pressure.cxx b/src/phreeqcpp/Pressure.cxx index 71e80783..a5075b0d 100644 --- a/src/phreeqcpp/Pressure.cxx +++ b/src/phreeqcpp/Pressure.cxx @@ -414,4 +414,4 @@ const std::vector< std::string >::value_type temp_vopts[] = { std::vector< std::string >::value_type("equal_increments"), //1 std::vector< std::string >::value_type("count") //2 }; -const std::vector< std::string > cxxPressure::vopts(temp_vopts, temp_vopts + sizeof temp_vopts / sizeof temp_vopts[0]); \ No newline at end of file +const std::vector< std::string > cxxPressure::vopts(temp_vopts, temp_vopts + sizeof temp_vopts / sizeof temp_vopts[0]); diff --git a/src/phreeqcpp/Reaction.cxx b/src/phreeqcpp/Reaction.cxx index 83d1eb64..511e3719 100644 --- a/src/phreeqcpp/Reaction.cxx +++ b/src/phreeqcpp/Reaction.cxx @@ -281,4 +281,4 @@ const std::vector< std::string >::value_type temp_vopts[] = { std::vector< std::string >::value_type("equal_increments"), //4 std::vector< std::string >::value_type("count_steps") //5 }; -const std::vector< std::string > cxxReaction::vopts(temp_vopts, temp_vopts + sizeof temp_vopts / sizeof temp_vopts[0]); \ No newline at end of file +const std::vector< std::string > cxxReaction::vopts(temp_vopts, temp_vopts + sizeof temp_vopts / sizeof temp_vopts[0]); diff --git a/src/phreeqcpp/SS.cxx b/src/phreeqcpp/SS.cxx index 9f65068c..bee411af 100644 --- a/src/phreeqcpp/SS.cxx +++ b/src/phreeqcpp/SS.cxx @@ -606,4 +606,4 @@ const std::vector< std::string >::value_type temp_vopts[] = { std::vector< std::string >::value_type("totals"), //16 std::vector< std::string >::value_type("dn") //17 }; -const std::vector< std::string > cxxSS::vopts(temp_vopts, temp_vopts + sizeof temp_vopts / sizeof temp_vopts[0]); \ No newline at end of file +const std::vector< std::string > cxxSS::vopts(temp_vopts, temp_vopts + sizeof temp_vopts / sizeof temp_vopts[0]); diff --git a/src/phreeqcpp/SScomp.cxx b/src/phreeqcpp/SScomp.cxx index d3ac5761..5b7b136f 100644 --- a/src/phreeqcpp/SScomp.cxx +++ b/src/phreeqcpp/SScomp.cxx @@ -294,4 +294,4 @@ const std::vector< std::string >::value_type temp_vopts[] = { std::vector< std::string >::value_type("dnc"), // 9 std::vector< std::string >::value_type("dnb") // 10 }; -const std::vector< std::string > cxxSScomp::vopts(temp_vopts, temp_vopts + sizeof temp_vopts / sizeof temp_vopts[0]); \ No newline at end of file +const std::vector< std::string > cxxSScomp::vopts(temp_vopts, temp_vopts + sizeof temp_vopts / sizeof temp_vopts[0]); diff --git a/src/phreeqcpp/Serializer.h b/src/phreeqcpp/Serializer.h index 80c285d8..f468dd47 100644 --- a/src/phreeqcpp/Serializer.h +++ b/src/phreeqcpp/Serializer.h @@ -39,4 +39,4 @@ protected: //std::string words_string; Dictionary dictionary; }; -#endif // !defined(SERIALIZER_H_INCLUDED) \ No newline at end of file +#endif // !defined(SERIALIZER_H_INCLUDED) diff --git a/src/phreeqcpp/Solution.cxx b/src/phreeqcpp/Solution.cxx index 85055223..cb2d2941 100644 --- a/src/phreeqcpp/Solution.cxx +++ b/src/phreeqcpp/Solution.cxx @@ -1754,4 +1754,4 @@ const std::vector< std::string >::value_type temp_vopts[] = { std::vector< std::string >::value_type("potential"), // 26 std::vector< std::string >::value_type("log_molalities_map") // 27 }; -const std::vector< std::string > cxxSolution::vopts(temp_vopts, temp_vopts + sizeof temp_vopts / sizeof temp_vopts[0]); \ No newline at end of file +const std::vector< std::string > cxxSolution::vopts(temp_vopts, temp_vopts + sizeof temp_vopts / sizeof temp_vopts[0]); diff --git a/src/phreeqcpp/SurfaceCharge.cxx b/src/phreeqcpp/SurfaceCharge.cxx index 4dcb473b..5d2857d8 100644 --- a/src/phreeqcpp/SurfaceCharge.cxx +++ b/src/phreeqcpp/SurfaceCharge.cxx @@ -583,4 +583,4 @@ const std::vector< std::string >::value_type temp_vopts[] = { std::vector< std::string >::value_type("g_map"), // 15 std::vector< std::string >::value_type("diffuse_layer_species") // 16 }; -const std::vector< std::string > cxxSurfaceCharge::vopts(temp_vopts, temp_vopts + sizeof temp_vopts / sizeof temp_vopts[0]); \ No newline at end of file +const std::vector< std::string > cxxSurfaceCharge::vopts(temp_vopts, temp_vopts + sizeof temp_vopts / sizeof temp_vopts[0]); diff --git a/src/phreeqcpp/Temperature.cxx b/src/phreeqcpp/Temperature.cxx index 6c486d3b..d67afe82 100644 --- a/src/phreeqcpp/Temperature.cxx +++ b/src/phreeqcpp/Temperature.cxx @@ -420,4 +420,4 @@ const std::vector< std::string >::value_type temp_vopts[] = { std::vector< std::string >::value_type("equal_increments"), //1 std::vector< std::string >::value_type("count_temps") //2 }; -const std::vector< std::string > cxxTemperature::vopts(temp_vopts, temp_vopts + sizeof temp_vopts / sizeof temp_vopts[0]); \ No newline at end of file +const std::vector< std::string > cxxTemperature::vopts(temp_vopts, temp_vopts + sizeof temp_vopts / sizeof temp_vopts[0]); diff --git a/src/phreeqcpp/UserPunch.h b/src/phreeqcpp/UserPunch.h index 599137b1..81d87168 100644 --- a/src/phreeqcpp/UserPunch.h +++ b/src/phreeqcpp/UserPunch.h @@ -36,4 +36,4 @@ protected: class rate * rate; Phreeqc * PhreeqcPtr; }; -#endif // !defined(USERPUNCH_H_INCLUDED) \ No newline at end of file +#endif // !defined(USERPUNCH_H_INCLUDED) diff --git a/src/phreeqcpp/common/PHRQ_base.cxx b/src/phreeqcpp/common/PHRQ_base.cxx index f2c164c2..6e48faaa 100644 --- a/src/phreeqcpp/common/PHRQ_base.cxx +++ b/src/phreeqcpp/common/PHRQ_base.cxx @@ -114,4 +114,4 @@ echo_msg(const std::string & stdstr) std::cout << stdstr << "\n"; #endif } -} \ No newline at end of file +} diff --git a/src/phreeqcpp/common/Parser.cxx b/src/phreeqcpp/common/Parser.cxx index 0469142b..db7d3556 100644 --- a/src/phreeqcpp/common/Parser.cxx +++ b/src/phreeqcpp/common/Parser.cxx @@ -1328,4 +1328,4 @@ CParser::TOKEN_TYPE CParser::parse_delimited(std::string & source, std::string & std::string str = result; return token_type(trim_left(str)); -} \ No newline at end of file +} diff --git a/src/phreeqcpp/cxxMix.cxx b/src/phreeqcpp/cxxMix.cxx index af7c174d..8cd8e0be 100644 --- a/src/phreeqcpp/cxxMix.cxx +++ b/src/phreeqcpp/cxxMix.cxx @@ -151,4 +151,4 @@ void cxxMix::Vectorize(std::vector &n, std::vector &f) f.push_back(it->second); } } -const std::vector< std::string > cxxMix::vopts; \ No newline at end of file +const std::vector< std::string > cxxMix::vopts; diff --git a/src/phreeqcpp/global_structures.h b/src/phreeqcpp/global_structures.h index 619c75e6..9d07f324 100644 --- a/src/phreeqcpp/global_structures.h +++ b/src/phreeqcpp/global_structures.h @@ -1650,4 +1650,4 @@ public: LDBLE uncertainty; }; -#endif /* _INC_GLOBAL_STRUCTURES_H */ \ No newline at end of file +#endif /* _INC_GLOBAL_STRUCTURES_H */ diff --git a/src/phreeqcpp/pitzer.cpp b/src/phreeqcpp/pitzer.cpp index 68a57a39..0b5db899 100644 --- a/src/phreeqcpp/pitzer.cpp +++ b/src/phreeqcpp/pitzer.cpp @@ -2704,4 +2704,4 @@ pitzer_make_lists(void) } param_list.push_back(i); } -} \ No newline at end of file +} diff --git a/src/phreeqcpp/sit.cpp b/src/phreeqcpp/sit.cpp index fb372c3b..8f213e98 100644 --- a/src/phreeqcpp/sit.cpp +++ b/src/phreeqcpp/sit.cpp @@ -1683,4 +1683,4 @@ sit_make_lists(void) if (sit_IPRSNT[i0] == FALSE || sit_IPRSNT[i1] == FALSE) continue; param_list.push_back(i); } -} \ No newline at end of file +} diff --git a/src/phreeqcpp/transport.cpp b/src/phreeqcpp/transport.cpp index 0f649fb0..88f33a29 100644 --- a/src/phreeqcpp/transport.cpp +++ b/src/phreeqcpp/transport.cpp @@ -6180,4 +6180,4 @@ flux_mcd(const char* species_name, int option) } } return (f); -} \ No newline at end of file +}