Julien Marrec
|
05c8cf503b
|
Lint: use automated tooling to reformat C++ and CMakeLists files (#2103)
* Add initial clang tidy / clang format config files
* Clang format the entire codebase
```
find ./src -regextype posix-extended -regex '.*\.(cpp|hpp|c|h|cxx|hxx)$' | xargs clang-format-12 -style=file -i -fallback-style=none
find ./include -regextype posix-extended -regex '.*\.(cpp|hpp|c|h|cxx|hxx)$' | xargs clang-format-12 -style=file -i -fallback-style=none
find ./Web -regextype posix-extended -regex '.*\.(cpp|hpp|c|h|cxx|hxx)$' | xargs clang-format-12 -style=file -i -fallback-style=none
find ./dev -regextype posix-extended -regex '.*\.(cpp|hpp|c|h|cxx|hxx)$' | xargs clang-format-12 -style=file -i -fallback-style=none
find ./wrappers -regextype posix-extended -regex '.*\.(cpp|hpp|c|h|cxx|hxx)$' | xargs clang-format-12 -style=file -i -fallback-style=none
```
* Add a .cmake-format file and reformat CmakeLists.txt with it
https://github.com/cheshirekow/cmake_format
* Add a clang-format workflow
only runs on PRs, only on touched files
|
2022-03-31 10:51:48 -04:00 |
|
mikekaganski
|
d470157314
|
Refactor solver function interfaces, to allow more verbose requirements for deriv
|
2015-03-09 13:38:49 +10:00 |
|
Jorrit Wronski
|
c9c29eadd1
|
Added partial derivatives for incompressible fluids. Tests need to be updated and the docs are outdated...
|
2015-02-10 16:43:29 +01:00 |
|
Jorrit Wronski
|
792c466c3d
|
I hope this is the last commit to fix #429 and to fix #413
|
2015-01-27 20:44:05 +01:00 |
|
Ian Bell
|
8327d54ea2
|
Replaced all tabs with spaces (finally) in C++ files
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-11-19 12:16:14 -05:00 |
|
Ian Bell
|
67e26391b0
|
Killed off doxygen errors
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-09-13 15:57:57 +02:00 |
|
Ian Bell
|
fc7eb55ca2
|
Added code for liquid enthalpy ancillary for Propane - proof of principle.
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
|
2014-07-31 19:39:24 +02:00 |
|
jowr
|
6360e84a54
|
Added some new functions to handle volume fractions, hope this does not cause any trouble other places
|
2014-07-22 17:29:01 +02:00 |
|
jowr
|
e29f890d29
|
Inheritance problem solved, solvers now have pointer versions
|
2014-07-11 13:56:23 +02:00 |
|
jowr
|
c28012c00a
|
Started implementing the solvers... Inheritance is a little unclear, wrote todo notes in the source. Added test object factories for consistent testing.
|
2014-07-11 13:06:43 +02:00 |
|
jowr
|
ed35139d8a
|
Implement new, more general solvers for the polynomials. Added solvers for rho, c, u and s to the incompressibles. T as function of h is still missing, should got to the backend...
|
2014-07-10 13:25:17 +02:00 |
|
jowr
|
864df6d590
|
Double-checked entropy equations
|
2014-06-20 17:02:44 +02:00 |
|
jowr
|
c7a28152ad
|
Ready to merge to incompressibles
|
2014-06-20 10:26:20 +02:00 |
|
jowr
|
7eeacea301
|
Fraction class is tested and behaves properly, implementing centered polynomials
|
2014-06-19 14:38:15 +02:00 |
|
jowr
|
524a2fff29
|
Solvers for frac classes work
|
2014-06-19 13:47:20 +02:00 |
|
jowr
|
b7a6c88e0b
|
Added frac integral
|
2014-06-16 17:07:20 +02:00 |
|
jowr
|
4e2aa1c404
|
Started to work on flexible polynomial solvers for fractional exponents
|
2014-06-13 13:56:08 +02:00 |
|
jowr
|
4a02014439
|
Added the Nerwton solver to the Polynomial classes
|
2014-06-12 08:27:49 +02:00 |
|
jowr
|
1ccceeb7a5
|
Added a bounded Brent solver to Polynomial2D
|
2014-06-11 19:27:07 +02:00 |
|
jowr
|
e2eee9a1df
|
Added solver and derivative functions, tested and works. Might need to implement our own solvers. Now way of telling Eigen not to find all roots. We know the bounds in most cases...
|
2014-06-11 17:52:56 +02:00 |
|
jowr
|
669195f654
|
Added more PolyMath functions and tests, integration and derivation seems to work.
|
2014-06-11 13:26:35 +02:00 |
|
jowr
|
602e1f9829
|
More matrix math and eigen integration
|
2014-06-10 17:03:28 +02:00 |
|
jowr
|
7455a4145e
|
polymath...
|
2014-06-10 00:00:41 +02:00 |
|
jowr
|
44f7288944
|
A little bit on polynomials
|
2014-06-07 12:28:53 +02:00 |
|
jowr
|
f4be09df63
|
Finally, some luck with the Matrix classes... C++ lessons learned.
|
2014-06-06 18:39:33 +02:00 |
|
jowr
|
893785fe95
|
More matrix conversions
|
2014-06-06 14:07:57 +02:00 |
|
jowr
|
183c93ac3c
|
More testing, changed vector to string functions
|
2014-06-06 01:03:35 +02:00 |
|
jowr
|
bdf92d95a9
|
const madness
|
2014-06-05 18:08:21 +02:00 |
|
Ian bell
|
185a216364
|
Fixed PolyMath to correct name clash with DEBUG macro - should use get/set_debug_level instead
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
|
2014-05-19 22:36:06 +02:00 |
|
jowr
|
70fdcf2613
|
Added build directory to ignore, more on polymath and incompressibles
|
2014-05-18 17:23:15 +02:00 |
|
jowr
|
8e71eebc3b
|
Added catch tests for polymath
|
2014-05-16 11:45:25 +02:00 |
|
jowr
|
a884794457
|
Started on tests
|
2014-05-16 10:04:04 +02:00 |
|
jowr
|
4f4904cd22
|
PolyMath generalisation
|
2014-05-15 19:17:15 +02:00 |
|
jowr
|
849da310e2
|
PolyMath is not fully implemented, but seems to work. There is a main method for testing.
|
2014-05-15 19:01:28 +02:00 |
|
jowr
|
3245b7ab74
|
Did we get anywhere with Polymath?
|
2014-05-15 18:34:33 +02:00 |
|
Ian bell
|
b3847c7522
|
Initial commit for v5, but this time with the right line endings
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
|
2014-05-14 12:46:24 +02:00 |
|