61#ifndef Foam_vf_viewFactorModel_H
62#define Foam_vf_viewFactorModel_H
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
Base class for ray search engines.
A base class for viewFactor models.
viewFactorModel(const fvMesh &mesh, const dictionary &dict)
Constructor.
const fvMesh & mesh_
Reference to the mesh database.
void operator=(const viewFactorModel &)=delete
No copy assignment.
viewFactorModel(const viewFactorModel &)=delete
No copy construct.
bool writeRays_
Flag to write the ray geometry.
virtual void calculate()
Calculate the view factors.
static autoPtr< viewFactorModel > New(const fvMesh &mesh, const dictionary &dict)
Selector.
declareRunTimeSelectionTable(autoPtr, viewFactorModel, mesh,(const fvMesh &mesh, const dictionary &dict),(mesh, dict))
Selection table.
virtual ~viewFactorModel()
Destructor.
TypeName("viewFactorModel")
Runtime type information.
autoPtr< raySearchEngine > searchEnginePtr_
Run-time selectable ray search engine.
static void writeRays(const fileName &fName, const pointField &compactCf, const labelListList &visibleFaceFaces)
Write ray geometry to file.
bool writeViewFactors_
Flag to write the view factor field.
virtual scalarListList calculate(const labelListList &visibleFaceFaces, const pointField &compactCoarseCf, const vectorField &compactCoarseSf, const UList< List< vector > > &compactFineSf, const UList< List< point > > &compactFineCf, const UList< List< point > > &compactPoints, const labelUList &compactPatchId) const =0
Calculate the view factors using run-time selectable model.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling file names.
Mesh data needed to do the Finite Volume discretisation.
A namespace for various viewFactor model implementations.
List< scalarList > scalarListList
List of scalarList.
List< labelList > labelListList
List of labelList.
Field< vector > vectorField
Specialisation of Field<T> for vector.
vectorField pointField
pointField is a vectorField.
UList< label > labelUList
A UList of labels.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes).
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.