Working on more domain mapper translation
This commit is contained in:
@@ -118,8 +118,8 @@ namespace serif::mapping {
|
||||
struct DMGeometryCache {
|
||||
bool enabled{true};
|
||||
const mfem::Mesh* mesh{nullptr};
|
||||
int32_t sequence{-1};
|
||||
int32_t nodesSequence{-1};
|
||||
long sequence{-1}; // We explicitly use the non explicltiy sized versions here since that what MFEM uses fort these members. Alternative we could use a int64_t and verify that on the compiled system that is the same as a long
|
||||
long nodesSequence{-1};
|
||||
std::unordered_map<std::tuple<int, double, double, double>, DMFixedMeshGeometry> points;
|
||||
uint64_t hits{0};
|
||||
uint64_t misses{0};
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#include "serif/mapping/compactification/kelvin.hpp"
|
||||
#include "serif/mapping/context.hpp"
|
||||
#include "serif/mapping/data.hpp"
|
||||
#include "serif/mapping/variation.hpp"
|
||||
|
||||
#include "serif/utils/user_options/mapping/domain_mapper.hpp"
|
||||
|
||||
@@ -25,9 +26,10 @@ namespace serif::mapping {
|
||||
|
||||
DomainMapper(const DomainMapper&) = delete;
|
||||
DomainMapper& operator=(const DomainMapper&) = delete;
|
||||
~DomainMapper();
|
||||
DomainMapper(DomainMapper&&) = delete;
|
||||
DomainMapper& operator=(DomainMapper&&) = delete;
|
||||
|
||||
~DomainMapper() = default;
|
||||
DomainMapper(DomainMapper&&) = default;
|
||||
DomainMapper& operator=(DomainMapper&&) = default;
|
||||
|
||||
void set_geometry_cache_enabled(bool enabled) const;
|
||||
[[nodiscard]] bool is_geometry_cache_enabled() const noexcept;
|
||||
|
||||
Reference in New Issue
Block a user