2#define __FIBERTYPE_HPP "Created 27.02.2001 21:42:27 by werner"
6#include <meta/LIST.hpp>
7#include <eagle/MetaInfo.hpp>
8#include <memcore/RefPtr.hpp>
9#include <memcore/typemap.hpp>
10#include <memcore/stringlist.hpp>
11#include <memcore/Chunk.hpp>
16#include "FiberTypeIndex.hpp"
17#include "FiberTypeBase.hpp"
29static size_t memsize() {
return sizeof(T); }
40static size_t memsize() {
return 0; }
92 FiberTypeBase::remember();
129 return myType.self();
132 WeakPtr_t element_type()
const override
169 return typeid(Chart_t);
179 int chart_dimension() const override
190 unsigned mem_size() const override
192 return unsigned( SizeOf<T>::memsize() );
201 const char*nontensor()
const override
234 if (
auto S = asText())
265template <
class T,
class ...more>
304template <
class ...Type>
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
Abstract procedural description of a data element which may be used to construct arrays and fields.
Definition FiberTypeBase.hpp:33
Description of types, which is meta-information like what is the number of elements of some array-lik...
Definition FiberType.hpp:61
const std::type_info & getType() const override
Type ID for this type.
Definition FiberType.hpp:100
static WeakPtr_t getFiberType()
Get the fiber type information for the current type.
Definition FiberType.hpp:126
std::string coordinate_component_name(int i) const override
The grade of this vector type, a multivector quantity from geometric algebra.
Definition FiberType.hpp:161
const std::type_info & chart_type() const override
Return the associated chart type.
Definition FiberType.hpp:167
int element_index(const int i[]) const override
Information about the organization of elements of a multi-ranked object.
Definition FiberType.hpp:184
MemCore::RefPtr< MemCore::ChunkBase > newChunk(size_t N) const override
Implement the virtual function to allocate chinks.
Definition FiberType.hpp:106
int indexing_scheme(int i) const override
Definition FiberType.hpp:196
MEMCORE_API std::string Typename(const std::type_info &t)
Given a fragmented field of curvilinear coordinates, (3D array of coordinates), build a uniform Grid ...
Definition FAQ.dox:2
bool containsType(const TypeList_t &TL, const type_info &what)
Investigate if a certain type is contained in a given type list.
Definition FiberType.cpp:228
A template helper class to provide an easier syntax for allowing certain field types to be accepted b...
Definition FiberType.hpp:267
AcceptType(Fiber::TypeList_t &TL)
Pseudo-constructor: The object itself here is not used at all.
Definition FiberType.hpp:276
Definition FiberTypeIndex.hpp:12
Definition FiberType.hpp:28
A set of types.
Definition FiberType.hpp:213