Skip to content

Commit 8e584ab

Browse files
committed
clang-format
1 parent b04c6ac commit 8e584ab

28 files changed

Lines changed: 144 additions & 138 deletions

include/MGIS/Behaviour/MaterialFunctionManager.ixx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ namespace mgis::behaviour {
6969
const std::shared_ptr<const Behaviour>& behaviour)
7070
: PreconditionsChecker<MaterialFunctionManager>(pcheck, s, behaviour),
7171
MaterialDataManager(*(behaviour),
72-
static_cast<size_type>(getSpaceSize(*s))),
72+
static_cast<size_type>(getSpaceSize(*s))),
7373
qspace(s),
7474
behaviour_ptr(behaviour) {} // end of MaterialFunctionManager
7575

include/MGIS/Function/Algorithms.hxx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,14 @@ namespace mgis::function {
4343
* \param[in] initial_value: initial value.
4444
*/
4545
template <EvaluatorConcept EvaluatorType, typename OperatorType>
46-
[[nodiscard]] std::optional<real>
47-
scalar_reduce(AbstractErrorHandler&, EvaluatorType, const OperatorType, const real) requires(
48-
LinearElementSpaceConcept<
49-
std::decay_t<decltype(getSpace(std::declval<EvaluatorType>()))>>);
46+
[[nodiscard]] std::optional<real> scalar_reduce(
47+
AbstractErrorHandler&,
48+
EvaluatorType,
49+
const OperatorType,
50+
const real) requires(LinearElementSpaceConcept<std::
51+
decay_t<decltype(getSpace(
52+
std::declval<
53+
EvaluatorType>()))>>);
5054

5155
} // end of namespace mgis::function
5256

include/MGIS/Function/BinaryOperationEvaluatorBase.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ namespace mgis::function {
120120
const BinaryOperationEvaluatorBase<Child,
121121
FirstEvaluatorType,
122122
SecondEvaluatorType>&);
123-
//! \brief allocate internal workspace
123+
//! \brief allocate internal workspace
124124
template <typename Child,
125125
EvaluatorConcept FirstEvaluatorType,
126126
EvaluatorConcept SecondEvaluatorType>

include/MGIS/Function/BinaryOperationEvaluatorBase.ixx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,9 @@ namespace mgis::function {
175175
constexpr void allocateWorkspace(
176176
BinaryOperationEvaluatorBase<Child,
177177
FirstEvaluatorType,
178-
SecondEvaluatorType>& e){
178+
SecondEvaluatorType>& e) {
179179
return e.allocateWorkspace();
180-
} // end of allocateWorkspace
180+
} // end of allocateWorkspace
181181

182182
} // end of namespace mgis::function
183183

include/MGIS/Function/EvaluatorConcept.ixx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace mgis::function::internals {
2424
constexpr mgis::size_type disambiguateGetNumberOfComponents(
2525
const EvaluatorType& e) {
2626
return getNumberOfComponents(e);
27-
} // end of disambiguateGetNumberOfComponents
27+
} // end of disambiguateGetNumberOfComponents
2828

2929
} // end of namespace mgis::function::internals
3030

include/MGIS/Function/EvaluatorModifierBase.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ namespace mgis::function {
7777
template <typename Child, EvaluatorConcept EvaluatorType>
7878
constexpr decltype(auto) getSpace(
7979
const EvaluatorModifierBase<Child, EvaluatorType>&);
80-
//! \brief allocate internal workspace
80+
//! \brief allocate internal workspace
8181
template <typename Child, EvaluatorConcept EvaluatorType>
8282
constexpr void allocateWorkspace(
8383
EvaluatorModifierBase<Child, EvaluatorType>&);

include/MGIS/Function/EvaluatorModifierBase.ixx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ namespace mgis::function {
8383

8484
template <typename Child, EvaluatorConcept EvaluatorType>
8585
constexpr void allocateWorkspace(
86-
EvaluatorModifierBase<Child, EvaluatorType>& e){
86+
EvaluatorModifierBase<Child, EvaluatorType>& e) {
8787
return e.allocateWorkspace();
8888
} // end of allocateWorkspace
8989

include/MGIS/Function/FixedSizeModifier.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ namespace mgis::function {
107107
template <EvaluatorConcept EvaluatorType, size_type N>
108108
decltype(auto) getSpace(const FixedSizeModifier<EvaluatorType, N>&);
109109

110-
//! \brief allocate internal workspace
110+
//! \brief allocate internal workspace
111111
template <EvaluatorConcept EvaluatorType, size_type N>
112112
constexpr void allocateWorkspace(FixedSizeModifier<EvaluatorType, N>&);
113113
//! \return the number of components

include/MGIS/Function/FixedSizeModifier.ixx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ namespace mgis::function {
185185
} // end of getSpace
186186

187187
template <EvaluatorConcept EvaluatorType, size_type N>
188-
constexpr void allocateWorkspace(FixedSizeModifier<EvaluatorType, N>& e){
188+
constexpr void allocateWorkspace(FixedSizeModifier<EvaluatorType, N>& e) {
189189
return e.allocateWorkspace();
190190
} // end of allocateWorkspace
191191

include/MGIS/Function/FixedSizeView.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ namespace mgis::function {
146146
template <FunctionConcept FunctionType, size_type N>
147147
constexpr decltype(auto) getSpace(const FixedSizeView<FunctionType, N>&);
148148

149-
//! \brief allocate internal workspace
149+
//! \brief allocate internal workspace
150150
template <FunctionConcept FunctionType, size_type N>
151151
constexpr void allocateWorkspace(FixedSizeView<FunctionType, N>&) noexcept;
152152
//! \return the number of components

0 commit comments

Comments
 (0)