mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-19 18:45:43 +00:00
Clean up the code a bit.
This commit is contained in:
parent
c4341adfe2
commit
b080824723
@ -44,8 +44,6 @@ FilterTemporalParticleAdvection<Derived>::CreateDataSetIntegrators(
|
|||||||
const vtkm::cont::PartitionedDataSet& input,
|
const vtkm::cont::PartitionedDataSet& input,
|
||||||
const vtkm::filter::particleadvection::BoundsMap& boundsMap) const
|
const vtkm::filter::particleadvection::BoundsMap& boundsMap) const
|
||||||
{
|
{
|
||||||
// using DSIType = vtkm::filter::particleadvection::TemporalDataSetIntegrator;
|
|
||||||
|
|
||||||
std::vector<DSIType> dsi;
|
std::vector<DSIType> dsi;
|
||||||
std::string activeField = this->GetActiveFieldName();
|
std::string activeField = this->GetActiveFieldName();
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ namespace vtkm
|
|||||||
{
|
{
|
||||||
namespace filter
|
namespace filter
|
||||||
{
|
{
|
||||||
/// \brief advect particles in a vector field.
|
/// \brief Advect particles in a vector field.
|
||||||
|
|
||||||
/// Takes as input a vector field and seed locations and generates the
|
/// Takes as input a vector field and seed locations and generates the
|
||||||
/// end points for each seed through the vector field.
|
/// end points for each seed through the vector field.
|
||||||
|
@ -17,7 +17,7 @@ namespace vtkm
|
|||||||
{
|
{
|
||||||
namespace filter
|
namespace filter
|
||||||
{
|
{
|
||||||
/// \brief generate streamlines from a vector field.
|
/// \brief Advect particles in a time varying vector field.
|
||||||
|
|
||||||
/// Takes as input a vector field and seed locations and generates the
|
/// Takes as input a vector field and seed locations and generates the
|
||||||
/// paths taken by the seeds through the vector field.
|
/// paths taken by the seeds through the vector field.
|
||||||
|
@ -17,7 +17,7 @@ namespace vtkm
|
|||||||
{
|
{
|
||||||
namespace filter
|
namespace filter
|
||||||
{
|
{
|
||||||
/// \brief generate streamlines from a vector field.
|
/// \brief generate pathlines from a time sequence of vector fields.
|
||||||
|
|
||||||
/// Takes as input a vector field and seed locations and generates the
|
/// Takes as input a vector field and seed locations and generates the
|
||||||
/// paths taken by the seeds through the vector field.
|
/// paths taken by the seeds through the vector field.
|
||||||
|
@ -17,7 +17,7 @@ namespace vtkm
|
|||||||
{
|
{
|
||||||
namespace filter
|
namespace filter
|
||||||
{
|
{
|
||||||
/// \brief generate streamlines from a vector field.
|
/// \brief Generate streamlines from a vector field.
|
||||||
|
|
||||||
/// Takes as input a vector field and seed locations and generates the
|
/// Takes as input a vector field and seed locations and generates the
|
||||||
/// paths taken by the seeds through the vector field.
|
/// paths taken by the seeds through the vector field.
|
||||||
|
@ -72,8 +72,8 @@ public:
|
|||||||
|
|
||||||
int FindRank(vtkm::Id blockId) const
|
int FindRank(vtkm::Id blockId) const
|
||||||
{
|
{
|
||||||
auto it = BlockToRankMap.find(blockId);
|
auto it = this->BlockToRankMap.find(blockId);
|
||||||
if (it == BlockToRankMap.end())
|
if (it == this->BlockToRankMap.end())
|
||||||
return -1;
|
return -1;
|
||||||
return it->second;
|
return it->second;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user