MeltPoolDG
⬇️ Installation
📦 Applications
💻 Developer Guide
📚 Publications
MeltPoolDG
Developer Documentation: include/meltpooldg/utilities/concepts.hpp Source File
View page source
include/meltpooldg/utilities/concepts.hpp Source File
Developer Documentation: include/meltpooldg/utilities/concepts.hpp Source File
Developer Documentation
include
meltpooldg
utilities
concepts.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <concepts>
4
5
namespace
MeltPoolDG
6
{
12
template
<
typename
T>
13
concept
ArithmeticType
=
requires
(T a, T b) {
14
{
15
a + b
16
} -> std::convertible_to<T>;
17
{
18
a - b
19
} -> std::convertible_to<T>;
20
{
21
a *b
22
} -> std::convertible_to<T>;
23
{
24
a / b
25
} -> std::convertible_to<T>;
26
};
27
}
// namespace MeltPoolDG
MeltPoolDG::ArithmeticType
Definition
concepts.hpp:13
MeltPoolDG
Interface for a general preconditioner.
Definition
boundary_condition_functions.hpp:17
Generated by
1.9.8