FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
FiberTypeIndex.hpp
1#ifndef FIBERTYPEINDEX_HPP
2#define FIBERTYPEINDEX_HPP "Created 05.06.2020 17:49:00 by werner"
3
4#include <string>
5#include "FieldAPI.h"
6
7namespace Fiber
8{
9
10
12{
18 unsigned multiplicity = 0;
19
23 unsigned mem_size = 0;
24
32 int rank = 0;
33
46 int grade = 0;
47
52 unsigned array_element_size = 0;
53
54 std::string type_name;
55 std::string element_type_name;
56
57// virtual const FiberTypeBase&element_type() const = 0;
58
62// virtual std::string coordinate_component_name(int i) const = 0;
63
65
73// string component_name(unsigned ComponentId) const;
74
76 int chart_dimension = 0;
77
79// virtual int indexing_scheme(int i) const = 0;
80
81#if (__cplusplus == 201703L)
82#pragma message "Compiling with C++17 does not allow for fibertype index comparisions."
83#else
88 auto operator<=>(const FiberTypeIndex&) const = default;
89#endif
90
91 std::string description() const;
92
93 auto value_type_size() const
94 {
95 return mem_size;
96 }
97};
98
99} // Fiber
100
101
102
103#endif
basic_string< char > string
An iterator with an optional DataCreator, which is just a class to intercept creation of data along a...
Definition CreativeIterator.hpp:34
auto value_type_size() const
How many bytes this object occupies in memory.
Definition FiberTypeIndex.hpp:93
index_t multiplicity() const
Return number of elements which form an entity.
Definition HyperslabParameters.hpp:116
Given a fragmented field of curvilinear coordinates, (3D array of coordinates), build a uniform Grid ...
Definition FAQ.dox:2
Definition FiberTypeIndex.hpp:12
auto operator<=>(const FiberTypeIndex &) const =default
https://en.cppreference.com/w/cpp/language/default_comparisons https://devblogs.microsoft....
std::string chart_name
Return the textual naming scheme of the ith coordinate.
Definition FiberTypeIndex.hpp:64