A base class for viewFactor
models.
More...
Public Member Functions | |
TypeName ("viewFactorModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, viewFactorModel, mesh,(const fvMesh &mesh, const dictionary &dict),(mesh, dict)) | |
Selection table. More... | |
viewFactorModel (const viewFactorModel &)=delete | |
No copy construct. More... | |
void | operator= (const viewFactorModel &)=delete |
No copy assignment. More... | |
viewFactorModel (const fvMesh &mesh, const dictionary &dict) | |
Constructor. More... | |
virtual | ~viewFactorModel () |
Destructor. More... | |
virtual void | calculate () |
Calculate the view factors. More... | |
Static Public Member Functions | |
static autoPtr< viewFactorModel > | New (const fvMesh &mesh, const dictionary &dict) |
Selector. More... | |
Protected Member Functions | |
virtual scalarListList | calculate (const labelListList &visibleFaceFaces, const pointField &compactCoarseCf, const vectorField &compactCoarseSf, const List< List< vector >> &compactFineSf, const List< List< point >> &compactFineCf, const DynamicList< List< point >> &compactPoints, const DynamicList< label > &compactPatchId) const =0 |
Calculate the view factors using run-time selectable model. More... | |
Static Protected Member Functions | |
static void | writeRays (const fileName &fName, const pointField &compactCf, const labelListList &visibleFaceFaces) |
Write ray geometry to file. More... | |
Protected Attributes | |
const fvMesh & | mesh_ |
Reference to the mesh database. More... | |
autoPtr< raySearchEngine > | searchEnginePtr_ |
Run-time selectable ray search engine. More... | |
bool | writeViewFactors_ |
Flag to write the view factor field. More... | |
bool | writeRays_ |
Flag to write the ray geometry. More... | |
A base class for viewFactor
models.
<constant>/viewFactorsDict: // Mandatory entries writeViewFactors <bool>; // Optional entries writeRays <bool>;
where the entries mean:
Property | Description | Type | Reqd | Deflt |
---|---|---|---|---|
writeViewFactors | Flag to write the view factor field | bool | yes | - |
writeRays | Flag to write the ray geometry | bool | no | false |
Definition at line 99 of file viewFactorModel.H.
|
delete |
No copy construct.
viewFactorModel | ( | const fvMesh & | mesh, |
const dictionary & | dict | ||
) |
Constructor.
|
virtual |
Destructor.
|
staticprotected |
Write ray geometry to file.
|
protectedpure virtual |
Calculate the view factors using run-time selectable model.
Implemented in viewFactor2LI, viewFactorHottel, and viewFactor2AI.
TypeName | ( | "viewFactorModel" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
viewFactorModel | , | ||
mesh | , | ||
(const fvMesh &mesh, const dictionary &dict) | , | ||
(mesh, dict) | |||
) |
Selection table.
|
static |
Selector.
|
delete |
No copy assignment.
|
virtual |
Calculate the view factors.
|
protected |
Reference to the mesh database.
Definition at line 108 of file viewFactorModel.H.
|
protected |
Run-time selectable ray search engine.
Definition at line 113 of file viewFactorModel.H.
|
protected |
Flag to write the view factor field.
Definition at line 118 of file viewFactorModel.H.
|
protected |
Flag to write the ray geometry.
Definition at line 123 of file viewFactorModel.H.