61 #ifndef Foam_vf_viewFactorModel_H 62 #define Foam_vf_viewFactorModel_H 79 class raySearchEngine;
const fvMesh & mesh_
Reference to the mesh database.
A class for handling file names.
bool writeViewFactors_
Flag to write the view factor field.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
TypeName("viewFactorModel")
Runtime type information.
virtual ~viewFactorModel()
Destructor.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
virtual void calculate()
Calculate the view factors.
A base class for viewFactor models.
void operator=(const viewFactorModel &)=delete
No copy assignment.
declareRunTimeSelectionTable(autoPtr, viewFactorModel, mesh,(const fvMesh &mesh, const dictionary &dict),(mesh, dict))
Selection table.
Mesh data needed to do the Finite Volume discretisation.
viewFactorModel(const viewFactorModel &)=delete
No copy construct.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
autoPtr< raySearchEngine > searchEnginePtr_
Run-time selectable ray search engine.
static autoPtr< viewFactorModel > New(const fvMesh &mesh, const dictionary &dict)
Selector.
bool writeRays_
Flag to write the ray geometry.
static void writeRays(const fileName &fName, const pointField &compactCf, const labelListList &visibleFaceFaces)
Write ray geometry to file.