1#ifndef __FIBER_GRID_TYPES_RELATIVE_REPRESENTATION_HPP
2#define __FIBER_GRID_TYPES_RELATIVE_REPRESENTATION_HPP
4#include "fish/fiber/grid/SkeletonID.hpp"
6#include "TypedGrid.hpp"
27 if (!ParentChildRelation)
return nullptr;
28 return ParentChildRelation->getPositions();
49 TypedGrid::assign(
nullptr);
52 RelativeRepresentation(
const Grid&theGrid,
const SkeletonID&ParentSid,
const SkeletonID&ChildSid)
53 : RelativeRepresentation(theGrid.self(), ParentSid, ChildSid)
56 ~RelativeRepresentation();
59static RelativeRepresentation create(Grid&theGrid,
60 const SkeletonID&ParentSid,
61 const SkeletonID&ChildSid);
63static RelativeRepresentation createRefinement(Grid&theGrid,
const SkeletonID&S,
int refinement_increment = 1)
An iterator with an optional DataCreator, which is just a class to intercept creation of data along a...
Definition CreativeIterator.hpp:34
Identifier for Skeletons within a Grid.
Definition SkeletonID.hpp:24
static SkeletonID nextRefinement(const SkeletonID &Sid, int refinement_increment)
Create a SkeletonID that is refined by a certain increment.
Definition SkeletonID.hpp:71
Given a fragmented field of curvilinear coordinates, (3D array of coordinates), build a uniform Grid ...
Definition FAQ.dox:2
A relative representation from one Skeleton to another Skeleton where elements of one Skeleton are re...
Definition RelativeRepresentation.hpp:19
bool assign(const RefPtr< Grid > &theParentGrid, const SkeletonID &ParentSid, const RefPtr< Grid > &theChildGrid, const SkeletonID &ChildSid)
Get refinement information between different Grids.
Base class for grid types.
Definition TypedGrid.hpp:47