------------------------------------------------------------------------------
| 182 | |
| 183 | //------------------------------------------------------------------------------ |
| 184 | vtkDataArray* vtkAMREnzoParticlesReader::GetParticlesTypeArray(int blockIdx) |
| 185 | { |
| 186 | |
| 187 | vtkIntArray* array = vtkIntArray::New(); |
| 188 | if (this->ParticleDataArraySelection->ArrayExists("particle_type")) |
| 189 | { |
| 190 | this->Internal->LoadAttribute("particle_type", blockIdx); |
| 191 | array->DeepCopy(this->Internal->DataArray); |
| 192 | } |
| 193 | return (array); |
| 194 | } |
| 195 | |
| 196 | //------------------------------------------------------------------------------ |
| 197 | bool vtkAMREnzoParticlesReader::CheckParticleType(int idx, vtkIntArray* ptypes) |
no test coverage detected