Go to the documentation of this file.
32 vtkUnsignedCharArray* array,
36 array->SetNumberOfComponents(1);
37 array->SetNumberOfTuples(size);
45 vtkIdTypeArray* array,
49 array->SetNumberOfComponents(1);
50 array->SetNumberOfTuples(size);
63 cells->GetData()->SetNumberOfTuples(size);
74 vtkpoints->SetNumberOfPoints(pts.
size());
76 vtkIdType pointId = 0;
77 for (
const point& pt : pts)
79 vtkpoints->SetPoint(pointId++, pt.v_);
91 vtkpoints->SetNumberOfPoints(addr.
size());
93 vtkIdType pointId = 0;
94 for (
const label pointi : addr)
96 vtkpoints->SetPoint(pointId++, pts[pointi].v_);
129 double range[2]{GREAT, -GREAT};
133 if (
data->GetNumberOfComponents() == 1)
160 auto iter = list.
begin();
161 for (
label id=0;
id < size; ++id)
178 for (
direction cmpt=0; cmpt < pTraits<Type>::nComponents; ++cmpt)
182 remapTuple<Type>(output);
193 for (
direction cmpt=0; cmpt < pTraits<Type>::nComponents; ++cmpt)
197 remapTuple<Type>(output);
label ListType::const_reference val
void component(FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)
iterator begin()
Return an iterator to begin traversing the UList.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
MinMax< scalar > scalarMinMax
A scalar min/max range.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
void size(const label n) noexcept
Override size to be inconsistent with allocated storage.
Database for solution data, solver performance and other reduced data.