1#ifndef FISH_BONE_NAMEDFIELD_HPP
2#define FISH_BONE_NAMEDFIELD_HPP
4#include <bone/GridOperatorObject.hpp>
5#include <bone/FishField.hpp>
6#include <bone/FieldObject.hpp>
7#include <shrimp/VObjectStatus.hpp>
21 for (
size_t i = 0; i != N; ++i)
27 for (
size_t i = 0; i != N; ++i)
51template <ConstString FieldName>
128 FS.selectField( FieldName );
138 if (!
vobj)
return false;
162 return VOut.HappyResult ;
_Expr< _ValFunClos< _ValArray, _Tp >, _Tp > apply(_Tp __func(_Tp)) const
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
Identifier for Fields within a Grid.
Definition FieldID.hpp:53
An internal class that stores a couple of textual names.
Definition FieldSelector.hpp:18
A Field is a collection of CreativeArrayBase reference pointers which are accessed via FragmentID obj...
Definition Field.hpp:245
Context information to select a grid from within a bundle.
Definition GridSelector.hpp:26
Info< Skeleton > getRefinementLevel(double time, int Level, int IndexDepth, const BundlePtr &SpaceTime=BundlePtr(NullPtr()))
Retrieve a skeleton for the given refinement level for the current time.
Definition GridSelector.cpp:14
const T & getValue(index_t i) const
Get the value, readonly.
Definition vector/Iterator.hpp:718
A Representation is a set of Field objects, each of them accessed via some FieldID identifier.
Definition Representation.hpp:101
RefPtr< Skeleton > findVertices(int TotalRefinement=-1) const
Find the Skeleton describing the Vertices on this Grid.
Definition SkeletonMap.cpp:285
constexpr std::basic_string< CHAR > str(const CHAR *text)
Given a fragmented field of curvilinear coordinates, (3D array of coordinates), build a uniform Grid ...
Definition FAQ.dox:2
Definition fs/init.hpp:20
The information as returned by a query for Grids.
Definition GridInfo.hpp:21
Definition NamedField.hpp:54
VOutput< string > theFieldName
Also output: the name of the Field.
Definition NamedField.hpp:59
~NamedField()
Destructor.
Definition NamedField.hpp:71
NamedField(const string &name, int p, const RefPtr< VCreationPreferences > &VP)
Constructor.
Definition NamedField.hpp:63
bool update(VRequest &Context, double precision) override
Implementation of the virtual update function; inspects the input Grid object for possible fields,...
Definition NamedField.hpp:101
VOutput< Fiber::Field > theField
The output: a field.
Definition NamedField.hpp:56
A set of types.
Definition FiberType.hpp:213
virtual GridSelector getGridSelector(const RefPtr< ValuePool > &VP) const
Provide the current Grid selector, which usually would be taken from the intrinsic TypedSlot,...
Fiber::Bundle::GridInfo_t findMostRecentGrid(GridSelector &GS, const RefPtr< ValuePool > &VP, const Fiber::BundlePtr &SpaceTime=Fiber::BundlePtr(NullPtr())) const
This is a convenience function to find the most recent grid for the current time ( Fish<Slice>() or v...
Convenience class for objects operating on Grid objects.
Definition GridOperatorObject.hpp:23
bool setStatusInfo(const RefPtr< ValuePool > &Context, const string &what) const
bool setStatusError(const RefPtr< ValuePool > &Context, const string &what, bool AnnouncePublic=false) const