Loading...
Searching...
No Matches
ITHACAtorch::ConvLayer< Type, PatchField, GeoMesh > Class Template Reference

#include <ConvLayer.H>

Public Member Functions

 ConvLayer (PtrList< GeometricField< Type, PatchField, GeoMesh > > &snapshots)
 Construct using Time as functionObject.
 
void setFilterSize (double dx, double dy, double dz)
 
void setDomainDivision (label Nx, label Ny, label Nz)
 
torch::Tensor filter ()
 
torch::Tensor filter ()
 
torch::Tensor filter ()
 

Public Attributes

PtrList< GeometricField< Type, PatchField, GeoMesh > > & _snapshots
 
const fvMesh & mesh
 
Vector< label > domainDivision
 
Vector< scalar > filterSize
 
Vector< scalar > domainSize
 
Vector< scalar > ds
 
List< point > convPoints
 
treeBoundBox box
 
List< labelList > cellsInBoxes
 
List< scalarList > weights
 
bool isDomainDivisionSet = false
 
bool isFilterSizeSet = false
 
autoPtr< Filter > flt
 
autoPtr< IOdictionary > convDict
 

Detailed Description

template<class Type, template< class > class PatchField, class GeoMesh>
class ITHACAtorch::ConvLayer< Type, PatchField, GeoMesh >

Definition at line 52 of file ConvLayer.H.

Constructor & Destructor Documentation

◆ ConvLayer()

template<class Type , template< class > class PatchField, class GeoMesh >
ITHACAtorch::ConvLayer< Type, PatchField, GeoMesh >::ConvLayer ( PtrList< GeometricField< Type, PatchField, GeoMesh > > & snapshots)

Construct using Time as functionObject.

Parameters
[in]dbThe database

Definition at line 35 of file ConvLayer.C.

Member Function Documentation

◆ filter() [1/3]

torch::Tensor ITHACAtorch::ConvLayer< scalar, fvPatchField, volMesh >::filter ( )

Definition at line 165 of file ConvLayer.C.

◆ filter() [2/3]

torch::Tensor ITHACAtorch::ConvLayer< vector, fvPatchField, volMesh >::filter ( )

Definition at line 203 of file ConvLayer.C.

◆ filter() [3/3]

template<class Type , template< class > class PatchField, class GeoMesh >
torch::Tensor ITHACAtorch::ConvLayer< Type, PatchField, GeoMesh >::filter ( )

◆ setDomainDivision()

template<class Type , template< class > class PatchField, class GeoMesh >
void ITHACAtorch::ConvLayer< Type, PatchField, GeoMesh >::setDomainDivision ( label Nx,
label Ny,
label Nz )

Definition at line 65 of file ConvLayer.C.

◆ setFilterSize()

template<class Type , template< class > class PatchField, class GeoMesh >
void ITHACAtorch::ConvLayer< Type, PatchField, GeoMesh >::setFilterSize ( double dx,
double dy,
double dz )

Definition at line 126 of file ConvLayer.C.

Member Data Documentation

◆ _snapshots

template<class Type , template< class > class PatchField, class GeoMesh >
PtrList<GeometricField<Type, PatchField, GeoMesh> >& ITHACAtorch::ConvLayer< Type, PatchField, GeoMesh >::_snapshots

Definition at line 62 of file ConvLayer.H.

◆ box

template<class Type , template< class > class PatchField, class GeoMesh >
treeBoundBox ITHACAtorch::ConvLayer< Type, PatchField, GeoMesh >::box

Definition at line 76 of file ConvLayer.H.

◆ cellsInBoxes

template<class Type , template< class > class PatchField, class GeoMesh >
List<labelList> ITHACAtorch::ConvLayer< Type, PatchField, GeoMesh >::cellsInBoxes

Definition at line 78 of file ConvLayer.H.

◆ convDict

template<class Type , template< class > class PatchField, class GeoMesh >
autoPtr<IOdictionary> ITHACAtorch::ConvLayer< Type, PatchField, GeoMesh >::convDict

Definition at line 85 of file ConvLayer.H.

◆ convPoints

template<class Type , template< class > class PatchField, class GeoMesh >
List<point> ITHACAtorch::ConvLayer< Type, PatchField, GeoMesh >::convPoints

Definition at line 70 of file ConvLayer.H.

◆ domainDivision

template<class Type , template< class > class PatchField, class GeoMesh >
Vector<label> ITHACAtorch::ConvLayer< Type, PatchField, GeoMesh >::domainDivision

Definition at line 65 of file ConvLayer.H.

◆ domainSize

template<class Type , template< class > class PatchField, class GeoMesh >
Vector<scalar> ITHACAtorch::ConvLayer< Type, PatchField, GeoMesh >::domainSize

Definition at line 67 of file ConvLayer.H.

◆ ds

template<class Type , template< class > class PatchField, class GeoMesh >
Vector<scalar> ITHACAtorch::ConvLayer< Type, PatchField, GeoMesh >::ds

Definition at line 68 of file ConvLayer.H.

◆ filterSize

template<class Type , template< class > class PatchField, class GeoMesh >
Vector<scalar> ITHACAtorch::ConvLayer< Type, PatchField, GeoMesh >::filterSize

Definition at line 66 of file ConvLayer.H.

◆ flt

template<class Type , template< class > class PatchField, class GeoMesh >
autoPtr<Filter> ITHACAtorch::ConvLayer< Type, PatchField, GeoMesh >::flt

Definition at line 84 of file ConvLayer.H.

◆ isDomainDivisionSet

template<class Type , template< class > class PatchField, class GeoMesh >
bool ITHACAtorch::ConvLayer< Type, PatchField, GeoMesh >::isDomainDivisionSet = false

Definition at line 81 of file ConvLayer.H.

◆ isFilterSizeSet

template<class Type , template< class > class PatchField, class GeoMesh >
bool ITHACAtorch::ConvLayer< Type, PatchField, GeoMesh >::isFilterSizeSet = false

Definition at line 82 of file ConvLayer.H.

◆ mesh

template<class Type , template< class > class PatchField, class GeoMesh >
const fvMesh& ITHACAtorch::ConvLayer< Type, PatchField, GeoMesh >::mesh

Definition at line 63 of file ConvLayer.H.

◆ weights

template<class Type , template< class > class PatchField, class GeoMesh >
List<scalarList> ITHACAtorch::ConvLayer< Type, PatchField, GeoMesh >::weights

Definition at line 79 of file ConvLayer.H.


The documentation for this class was generated from the following files: