|
11 | 11 | #include "../io/ParameterMap.h" |
12 | 12 | #include "../utils/shared.h" |
13 | 13 |
|
14 | | -/*! \brief Describes cooling components |
15 | | - * |
16 | | - * \todo if we create a file that holds all non-tabulated cool-components, we may want |
17 | | - * to move this docstring to that file |
18 | | - * |
19 | | - * \note Maybe we should call this namespace edot_component? (Since there's heating & cooling) |
20 | | - * |
21 | | - * Each cooling recipe is composed of one or more cooling components. A cooling |
22 | | - * component is a "callable" (i.e. it's a function or it's a class that implements |
23 | | - * the appropriate method that let's be called just like a function). |
24 | | - * |
25 | | - * Optimization Notes |
26 | | - * ================== |
27 | | - * It's important that that "core-logic" of each cooling component is implemented in a |
28 | | - * header file or in the same source file where a recipe actually invokes the |
29 | | - * "core logic". The "core-logic" includes code paths accessible through function-call |
30 | | - * syntax. To be more explicit, |
31 | | - * - when a cool-component is a regular function, the "core-logic" includes the whole |
32 | | - * function itself and any (user-defined) functions called by that function |
33 | | - * - for a callable class, the "core-logic" includes the definition of the |
34 | | - * `Real operator()(args...)` member function and any (user-defined) functions |
35 | | - * called by that member-function |
36 | | - * |
37 | | - * We may also want to consider using ``__forceinline__``. With that said, we should |
38 | | - * only use ``__forceinline__`` if it explicitly provides a performance improvement |
39 | | - * (blindly using ``__forceinline__`` can actually hurt performance) |
40 | | - * |
41 | | - * In the future, if most heating and cooling contributiond need ``log10(n)`` and |
42 | | - * ``log10(T)``, we may want to consider pre-computing those values. In this scenario, |
43 | | - * we probably want to continue providing ``n`` and ``T``. This could potentially |
44 | | - * improve performance in recipies using multiple independent contributions since |
45 | | - * ``log10`` and ``pow`` are generally a lot more expensive than most other operations |
46 | | - * relevant for computing heating and cooling |
47 | | - */ |
48 | 14 | namespace cool_component |
49 | 15 | { |
50 | 16 |
|
|
0 commit comments