SpECTRE
v2021.01.11
Documentation
Introduction
Releases
Installation
User Tutorials
Dev Guide
Code of Conduct
Contributing Guide
Code Reference
Topics
Namespaces
Files
Bibliography
View on GitHub
src
Domain
OptionTags.hpp
1
// Distributed under the MIT License.
2
// See LICENSE.txt for details.
3
4
#pragma once
5
6
#include <
cstddef
>
7
#include <
memory
>
8
9
#include "
Options/Options.hpp
"
10
11
/// \cond
12
template
<
size_t
Dim>
13
class
DomainCreator
;
14
/// \endcond
15
16
namespace
domain {
17
namespace
OptionTags {
18
/// \ingroup OptionTagsGroup
19
/// \ingroup ComputationalDomainGroup
20
/// The input file tag for the DomainCreator to use
21
template
<
size_t
Dim>
22
struct
DomainCreator
{
23
using
type
=
std::unique_ptr<::DomainCreator<Dim>
>;
24
static
constexpr
Options::String
help = {
"The domain to create initially"
};
25
};
26
}
// namespace OptionTags
27
}
// namespace domain
Options.hpp
domain::OptionTags::DomainCreator
Definition:
OptionTags.hpp:22
cstddef
memory
DomainCreator
Base class for creating Domains from an option string.
Definition:
DomainCreator.hpp:88
Options::String
const char *const String
The string used in option structs.
Definition:
Options.hpp:32
std::unique_ptr
© Copyright 2017 - 2020
SXS Collaboration
,
Distributed under the
MIT License