• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sxs-collaboration / spectre / 4245608534

pending completion
4245608534

push

github

GitHub
Merge pull request #4745 from knelli2/time_dep_dep

13 of 13 new or added lines in 4 files covered. (100.0%)

63923 of 66629 relevant lines covered (95.94%)

427287.21 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Domain/Creators/Tags/InitialRefinementLevels.cpp
1
// Distributed under the MIT License.
2
// See LICENSE.txt for details.
3

4
#include "Domain/Creators/Tags/InitialRefinementLevels.hpp"
5

6
#include <array>
7
#include <cstddef>
8
#include <memory>
9
#include <vector>
10

11
#include "Domain/Creators/DomainCreator.hpp"
12
#include "Domain/Domain.hpp"
13
#include "Utilities/GenerateInstantiations.hpp"
14

15
namespace domain::Tags {
16
template <size_t Dim>
17
std::vector<std::array<size_t, Dim>>
18
InitialRefinementLevels<Dim>::create_from_options(
×
19
    const std::unique_ptr<::DomainCreator<Dim>>& domain_creator) {
20
  return domain_creator->initial_refinement_levels();
×
21
}
22

23
#define DIM(data) BOOST_PP_TUPLE_ELEM(0, data)
24

25
#define INSTANTIATE(_, data)                               \
26
  template std::vector<std::array<size_t, DIM(data)>>      \
27
  InitialRefinementLevels<DIM(data)>::create_from_options( \
28
      const std::unique_ptr<::DomainCreator<DIM(data)>>& domain_creator);
29

30
GENERATE_INSTANTIATIONS(INSTANTIATE, (1, 2, 3))
31

32
#undef INSTANTIATE
33
#undef DIM
34
}  // namespace domain::Tags
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc