60 ConvLayer(PtrList<GeometricField<Type, PatchField, GeoMesh >>& snapshots);
62 PtrList<GeometricField<Type, PatchField, GeoMesh >>& _snapshots;
65 Vector<label> domainDivision;
66 Vector<scalar> filterSize;
67 Vector<scalar> domainSize;
70 List<point> convPoints;
72 void setFilterSize(
double dx,
double dy,
double dz);
73 void setDomainDivision(label Nx, label Ny, label Nz);
75 torch::Tensor filter();
78 List<labelList> cellsInBoxes;
79 List<scalarList> weights;
81 bool isDomainDivisionSet =
false;
82 bool isFilterSizeSet =
false;
85 autoPtr<IOdictionary> convDict;