1#ifndef __FIBER_FIELDSELECTION_HPP
2#define __FIBER_FIELDSELECTION_HPP
5#include <field/FiberType.hpp>
6#include <grid/Grid.hpp>
85 const FieldSelection_t&getSelection()
const
94 friend bool operator==(
const FieldSelection&L,
const FieldSelection&R);
103 void setUniqueField(
const string&fieldname,
const TypeList_t&FT);
110 string getFieldName()
const;
115 unsigned getNumberOfFields()
const;
124 bool setFieldType(
const string&Fieldname,
const FiberTypeBase&,
bool append);
131 TypeList_t getFieldType(
const string&Fieldname)
const;
148 void setType(
const string&name,
bool append=
true)
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
An abstract selection of fields, that is given by names of fields and possible types for each field.
Definition FieldSelection.hpp:23
RefPtr< Representation > getCartesianVertexFields(const Grid &G) const
Return a set of fields, as found on Vertices of the given Grid as represented in cartesian coordinate...
void setType(const string &name, bool append=true)
Define the types that this field accepts or provides.
Definition FieldSelection.hpp:148
friend bool operator!=(const FieldSelection &L, const FieldSelection &R)
Check if two field selectors differ.
Definition FieldSelection.hpp:97
TypeList_t & FieldTypes()
Beside a set of fields and their type, the FieldSelection also allows to store a set of types indepen...
Definition FieldSelection.hpp:72
bool setType(bool append=true)
Definition FieldSelection.hpp:138
const TypeList_t & FieldTypes() const
Readonly retrieval of associated field types.
Definition FieldSelection.hpp:80
RefPtr< Representation > getFields(const Representation &R) const
Return a set of fields, as found on the given Representation object.
std::map< string, TypeList_t > FieldSelection_t
The actual selection of fields, modelled as a mapping from string to a list of types.
Definition FieldSelection.hpp:29
A Grid is a set of Skeleton objects, each of them accessed via some unique SkeletonID object.
Definition Grid.hpp:60
A Representation is a set of Field objects, each of them accessed via some FieldID identifier.
Definition Representation.hpp:101
Given a fragmented field of curvilinear coordinates, (3D array of coordinates), build a uniform Grid ...
Definition FAQ.dox:2
bool operator==(const MultipleStringSelection &a, const MultipleStringSelection &b)
A set of types.
Definition FiberType.hpp:213