39#include <torch/script.h>
40#include <torch/torch.h>
51template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
60 ConvLayer(PtrList<GeometricField<Type, PatchField, GeoMesh>>& snapshots);
62 PtrList<GeometricField<Type, PatchField, GeoMesh>>&
_snapshots;
Header file of the BaseFilter class.
Implementation of the assert function for ITHACA-FV.
Vector< label > domainDivision
Vector< scalar > filterSize
ConvLayer(PtrList< GeometricField< Type, PatchField, GeoMesh > > &snapshots)
Construct using Time as functionObject.
void setDomainDivision(label Nx, label Ny, label Nz)
List< scalarList > weights
void setFilterSize(double dx, double dy, double dz)
PtrList< GeometricField< Type, PatchField, GeoMesh > > & _snapshots
autoPtr< IOdictionary > convDict
Vector< scalar > domainSize
List< labelList > cellsInBoxes
ConvLayer< vector, fvPatchField, volMesh > volVectorLayer
ConvLayer< scalar, fvsPatchField, surfaceMesh > surfaceScalarLayer
ConvLayer< scalar, fvPatchField, volMesh > volScalarLayer