Go to the documentation of this file.
   51 #ifndef vtkm_worklet_cosmotools_cosmotools_h 
   52 #define vtkm_worklet_cosmotools_cosmotools_h 
  100 template <
typename U>
 
  106   std::cout << std::setw(15) << msg << 
": ";
 
  107   for (
vtkm::Id i = 0; i < count; i++)
 
  108     std::cout << std::setprecision(3) << std::setw(5) << portal.Get(i) << 
" ";
 
  109   std::cout << std::endl;
 
  112 template <
typename U>
 
  118   std::cout << std::setw(15) << msg << 
": ";
 
  119   for (
vtkm::Id i = 0; i < count; i++)
 
  120     std::cout << std::setw(5) << portal.Get(i) << 
" ";
 
  121   std::cout << std::endl;
 
  138 template <
typename T>
 
  146   void operator()(T inputIndex, T& outputIndex)
 const { outputIndex = inputIndex; }
 
  154 template <
typename T>
 
  171 template <
typename T, 
typename StorageType>
 
  247 template <
typename T, 
typename StorageType>
 
  255   : nParticles(NParticles)
 
  257   , minPartPerHalo(pmin)
 
  270 template <
typename T, 
typename StorageType>
 
  276   : nParticles(NParticles)
 
  
VTKM_CONT vtkm::Id GetNumberOfValues() const
Returns the number of entries in the array.
Definition: ArrayHandle.h:448
 
Manages an array-worth of data.
Definition: ArrayHandle.h:283
 
#define VTKM_EXEC
Definition: ExportMacros.h:51
 
Groups connected points that have the same field value.
Definition: Atomic.h:19
 
#define VTKM_EXEC_CONT
Definition: ExportMacros.h:52
 
A control signature tag for output fields.
Definition: WorkletMapField.h:60
 
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
 
A scatter that maps input to some numbers of output.
Definition: ScatterCounting.h:44
 
#define X
Definition: ClipTables.h:2430
 
A control signature tag for input fields.
Definition: WorkletMapField.h:49
 
#define VTKM_CONT
Definition: ExportMacros.h:57
 
Definition: Algorithm.h:385
 
VTKM_CONT ReadPortalType ReadPortal() const
Get an array portal that can be used in the control environment.
Definition: ArrayHandle.h:414
 
Reverse the order of an array, on demand.
Definition: ArrayHandleReverse.h:147
 
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38