1#ifndef __FISH_BONE_GRID_HPP
2#define __FISH_BONE_GRID_HPP
5#include <ocean/shrimp/VStringList.hpp>
6#include <bundle/GridSelector.hpp>
7#include <bundle/FieldSelector.hpp>
9#include "GridInspector.hpp"
23static bool setValueFromText(
GridSelector&i,
const string&s)
129 Fish(
const string&s =
"grid",
int prior=2);
137 this->registerOutput( MyGrid );
203 using Fish<
double>::IterateLevels;
Convenience class that implements a pointer to a Bundle object but adds some useful member funtions t...
Definition Bundle.hpp:779
An iterator with an optional DataCreator, which is just a class to intercept creation of data along a...
Definition CreativeIterator.hpp:34
An internal class that stores a couple of textual names.
Definition FieldSelector.hpp:18
An abstract base class for a list of Grid objects.
Definition GridContainer.hpp:25
Context information to select a grid from within a bundle.
Definition GridSelector.hpp:26
const string & Gridname() const
Return the name of the currently selected Grid.
Definition GridSelector.hpp:103
bool selectGrid(const string &name)
Select a certain grid out of the given spacetime.
Definition GridSelector.hpp:134
A Grid is a set of Skeleton objects, each of them accessed via some unique SkeletonID object.
Definition Grid.hpp:60
Given a fragmented field of curvilinear coordinates, (3D array of coordinates), build a uniform Grid ...
Definition FAQ.dox:2
note: cannot derive from FloatingSkeletonRenderer as long as independent base class TriangleRenderer ...
Definition fs/init.hpp:20
The information as returned by a query for Grids.
Definition GridInfo.hpp:21
void registerGridAsOutput()
Make grid visible as output.
Definition FishGrid.hpp:135
virtual GridSelector getGridSelector(const RefPtr< ValuePool > &VP) const
Provide the current Grid selector, which usually would be taken from the intrinsic TypedSlot,...
bool IterateLevelsOnMostRecentGrid(LevelIterator &LI, const RefPtr< ValuePool > &Context, const Fiber::BundlePtr &SpaceTime=Fiber::BundlePtr(NullPtr())) const
Iterate over all the selected levels of a Grid via an instance of the LevelIterator.
Definition FishGrid.hpp:224
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...
Fiber::Bundle::GridInfo_t findMostRecentGrid(const RefPtr< ValuePool > &VP, const Fiber::BundlePtr &SpaceTime=Fiber::BundlePtr(NullPtr())) const
Find the most recent grid for the current time ( Fish<Slice>() or virtual function getTime() ).
Definition FishGrid.hpp:173
Fiber::Info< Fiber::Skeleton > getRefinementLevel(int Level, const RefPtr< ValuePool > &VP, int IndexDepth=0, const Fiber::BundlePtr &SpaceTime=Fiber::BundlePtr(NullPtr())) const override
Get an refinement level for the given spacetime based on the GridSelector as returned by getGridSelec...