Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
d29a8afb
Commit
d29a8afb
authored
Nov 15, 2016
by
Andrew Heather
Browse files
GIT: Resolve merge conflict
parents
fff2ee54
efb7cd84
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/thermophysicalModels/radiation/derivedFvPatchFields/greyDiffusiveViewFactor/greyDiffusiveViewFactorFixedValueFvPatchScalarField.C
View file @
d29a8afb
...
...
@@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
\\/ M anipulation |
Copyright (C) 2016 OpenCFD Ltd
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
...
...
@@ -113,6 +113,32 @@ greyDiffusiveViewFactorFixedValueFvPatchScalarField
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
void
Foam
::
radiation
::
greyDiffusiveViewFactorFixedValueFvPatchScalarField
::
autoMap
(
const
fvPatchFieldMapper
&
m
)
{
fixedValueFvPatchScalarField
::
autoMap
(
m
);
Qro_
.
autoMap
(
m
);
}
void
Foam
::
radiation
::
greyDiffusiveViewFactorFixedValueFvPatchScalarField
::
rmap
(
const
fvPatchScalarField
&
ptf
,
const
labelList
&
addr
)
{
fixedValueFvPatchScalarField
::
rmap
(
ptf
,
addr
);
const
greyDiffusiveViewFactorFixedValueFvPatchScalarField
&
mrptf
=
refCast
<
const
greyDiffusiveViewFactorFixedValueFvPatchScalarField
>
(
ptf
);
Qro_
.
rmap
(
mrptf
.
Qro_
,
addr
);
}
void
Foam
::
radiation
::
greyDiffusiveViewFactorFixedValueFvPatchScalarField
::
updateCoeffs
()
{
...
...
src/thermophysicalModels/radiation/derivedFvPatchFields/greyDiffusiveViewFactor/greyDiffusiveViewFactorFixedValueFvPatchScalarField.H
View file @
d29a8afb
...
...
@@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
\\/ M anipulation |
Copyright (C) 2016 OpenCFD Ltd
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
...
...
@@ -172,6 +172,22 @@ public:
virtual
void
updateCoeffs
();
// Mapping functions
//- Map (and resize as needed) from self given a mapping object
virtual
void
autoMap
(
const
fvPatchFieldMapper
&
);
//- Reverse map the given fvPatchField onto this fvPatchField
virtual
void
rmap
(
const
fvPatchScalarField
&
,
const
labelList
&
);
// I-O
//- Write
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment