Go to the documentation of this file.
21 #ifndef __ProcessField_hpp__
22 #define __ProcessField_hpp__
96 denomeratorPtr = makeUnique<rectMeshField_H<real>>(this->
mesh(),
static_cast<real>(1.0));
110 static_cast<real>(1.0),
111 static_cast<real>(1.0)
128 static_cast<real>(1.0),
129 static_cast<real>(1.0)
141 auto& numerator = numeratorPtr();
142 auto& denomerator = denomeratorPtr();
144 for(
int32 i=0; i<this->
mesh().nx(); i++ )
146 for(
int32 j=0; j<this->
mesh().ny(); j++ )
148 for(
int32 k=0; k<this->
mesh().nz(); k++ )
179 #endif //__ProcessField_hpp__
uniquePtr< pointField_H< T > > field_
#define fatalExit
Fatal exit.
uniquePtr< rectMeshField_H< T > > sumMaksOp(pointField_H< T > &field, pointRectCell &pointToCell, const incMask &mask)
const word & processedFieldName() const
iOstream & endl(iOstream &os)
Add newline and flush stream.
const word & operation() const
uniquePtr< includeMask > includeMask_
rectMeshField_H< T > processedField_
add_vCtor(processField, ProcessField, dictionary)
bool writeToVTK(iOstream &os) const override
Data entry to be used in dictionries.
#define fatalErrorInFunction
Report a fatal error and function name and exit the application.
bool convertRectMeshField(iOstream &os, const rectMeshField_H< T > &field)
processField(const dictionary &dict, pointRectCell &pToCell, repository &rep)
ProcessField(const dictionary &dict, pointRectCell &pToCell, repository &rep)
virtual bool process() override
T getUniformValue() const
const word & fieldName() const
uniquePtr< rectMeshField_H< T > > sumOp(pointField_H< T > &field, pointRectCell &pointToCell)
const auto & mesh() const
TypeInfoTemplate11("ProcessField", T)
Interface class for any output stream.
Dictionary holds a set of data entries or sub-dictionaries that are enclosed in a curely braces or ar...
const auto & pointToCell() const