FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
UniformGrid.hpp
1#ifndef __BASEOP_CREATEUNIFORMGRID_HPP
2#define __BASEOP_CREATEUNIFORMGRID_HPP
3
4#include <map>
5
6#include "gridopDllApi.h"
7#include <grid/Grid.hpp>
8#include <bundle/Slice.hpp>
9#include <bundle/GridInfo.hpp>
10#include <aerie/BoundingBox.hpp>
11
12#include <bundle/Bundle.hpp>
13#include <fish/fiber/field/RegularlyFragmentedField.hpp>
14#include <fish/fiber/field/UniformCartesianArray.hpp>
15
16namespace Fiber
17{
18
19#pragma message ("This header file and functions herein are deprecated and must not be used.")
20//#error "This header file and functions herein are deprecated and must not be used.")
21
45extern gridop_API
46RefPtr<Grid>
47DEPRECATED("Use grid/types/RegularGrid3D.hpp:UniformGrid3D instead",
48 createUniformGrid(const string&InputGridname,
50 const string&OutputGridname,
53
54
55
56
68DEPRECATED("Use grid/types/RegularlyFragmentedGrid.hpp: instead",
69 prepareRegularlyFragmentedGrid( BundlePtr bp, double time, const string& grid_name, int grid_dimensionality, const RefPtr<RegularlyFragmentedField<3> >& positions, const Eagle::BoundingBox& bb ));
70
101
102
103// m_diag ... diagonal of one cell
104// m_size ... used for consistency check
105extern gridop_API bool uniformCellFromPosition(const Eagle::PhysicalSpace::point &base_crds,
107 const Eagle::PhysicalSpace::tvector &m_diag,
108 const MultiIndex<3>&size,
110
111extern gridop_API bool uniformCellFromPosition(const Eagle::PhysicalSpace::point &crds, const RefPtr< Eagle::BoundingBox>& bb, const double &delta_s, const MultiIndex<3>&size, MultiIndex<3>&idx3 );
112
113extern gridop_API bool isPositionInInnerRegion(const Eagle::PhysicalSpace::point &base_crds, const Eagle::PhysicalSpace::point &m_min, const Eagle::PhysicalSpace::tvector &m_diag, const MultiIndex<3>& idx3, double distance_from_borders );
114
115extern gridop_API int getCellsWherePointIsInGhostZone( const MultiIndex<3>& current, const MultiIndex<3>& max_cells,
116 const Eagle::PhysicalSpace::point &pos, const Eagle::PhysicalSpace::point &t_min, const Eagle::PhysicalSpace::tvector &t_diag, double ghost_r,
118// , int& if_case
119 );
120
121} // namespace Fiber
122
123
124#endif // __BASEOP_CREATEUNIFORMGRID_HPP
125
126
127
valarray< size_t > size() const
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
Given a fragmented field of curvilinear coordinates, (3D array of coordinates), build a uniform Grid ...
Definition FAQ.dox:2
gridop_API RefPtr< Grid > DEPRECATED("Use grid/types/RegularGrid3D.hpp:UniformGrid3D instead", createUniformGrid(const string &InputGridname, const Info< Skeleton > &Level, const string &OutputGridname, const MultiIndex< 3 > &Resolution, const RefPtr< Eagle::BoundingBox > &SubBox=NullPtr()))
Create a uniform Grid from a given Grid.
bool createPersistentRegularlyPositionFragments(const RefPtr< RegularlyFragmentedField< 3 > > &positions, const std::list< std::pair< MultiIndex< 3 >, RefPtr< UniformCartesianArray > > > &frags)
Function to create regularly fragmented positions from a specifiyed list of RefPtr<UniformCartesianAr...
Definition fiber/baseop/UniformGrid.cpp:93
std::nullptr_t NullPtr