mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-10-05 01:49:02 +00:00
More typos
these need a little more review.
This commit is contained in:
parent
80b11afa24
commit
45239449a6
@ -64,7 +64,7 @@ test -n "$remote" || remote="gitlab"
|
||||
# Identify and validate the topic branch name.
|
||||
head="$(git symbolic-ref HEAD)" && topic="${head#refs/heads/}" || topic=''
|
||||
if test -z "$topic" -o "$topic" = "master"; then
|
||||
die 'You cant sync the master branch, please checkout the correct a branch with:
|
||||
die 'You can\'t sync the master branch, please checkout the correct a branch with:
|
||||
git checkout <branch>'
|
||||
fi
|
||||
|
||||
|
@ -202,7 +202,7 @@ public:
|
||||
}
|
||||
else
|
||||
{
|
||||
throw vtkm::cont::ErrorBadValue("ENGERY MODE Not implemented for this use case\n");
|
||||
throw vtkm::cont::ErrorBadValue("ENERGY MODE Not implemented for this use case\n");
|
||||
}
|
||||
|
||||
Tracer->Trace(rays);
|
||||
|
@ -50,7 +50,7 @@ public:
|
||||
virtual void SetVolumeData(const vtkm::cont::Field& scalarField,
|
||||
const vtkm::Range& scalarBounds) = 0;
|
||||
|
||||
virtual void SetEnergyData(const vtkm::cont::Field& absorbtion,
|
||||
virtual void SetEnergyData(const vtkm::cont::Field& absorption,
|
||||
const vtkm::Int32 numBins,
|
||||
const vtkm::cont::Field& emission = vtkm::cont::Field()) = 0;
|
||||
|
||||
|
@ -82,7 +82,7 @@ protected:
|
||||
bool ReEnterMesh; // Do not try to re-enter the mesh
|
||||
bool CreatePartialComposites;
|
||||
bool FieldAssocPoints;
|
||||
bool HasEmission; // Mode for integrating through engery bins
|
||||
bool HasEmission; // Mode for integrating through energy bins
|
||||
|
||||
// timers
|
||||
vtkm::Float64 IntersectTime;
|
||||
|
@ -82,12 +82,12 @@ public:
|
||||
// Execute N-Dim histogram worklet to get N-Dims histogram from input fields
|
||||
// Input arguments:
|
||||
// binId: returned bin id of NDims-histogram, binId has n arrays, if length of fieldName is n
|
||||
// freqs: returned frequncy(count) array
|
||||
// freqs: returned frequency(count) array
|
||||
// Note: the ND-histogram is returned in the fashion of sparse representation.
|
||||
// (no zero freqncy in freqs array)
|
||||
// (no zero frequency in freqs array)
|
||||
// the length of all arrays in binId and freqs array must be the same
|
||||
// if the length of fieldNames is n (compute a n-dimensional hisotgram)
|
||||
// freqs[i] is the freqncy of the bin with bin Ids{ binId[0][i], binId[1][i], ... binId[n-1][i] }
|
||||
// freqs[i] is the frequency of the bin with bin Ids{ binId[0][i], binId[1][i], ... binId[n-1][i] }
|
||||
template <typename DeviceAdapter>
|
||||
void Run(std::vector<vtkm::cont::ArrayHandle<vtkm::Id>>& binId,
|
||||
vtkm::cont::ArrayHandle<vtkm::Id>& freqs,
|
||||
|
Loading…
Reference in New Issue
Block a user