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
af4f1f42
Commit
af4f1f42
authored
Oct 03, 2012
by
mattijs
Browse files
ENH: pointPatchField: added fixesValue
parent
bf5e0376
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/fields/pointPatchFields/basic/fixedValue/fixedValuePointPatchField.H
View file @
af4f1f42
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011
-2012
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -121,6 +121,17 @@ public:
}
// Member functions
// Access
//- Return true if this patch field fixes a value
virtual
bool
fixesValue
()
const
{
return
true
;
}
// Member operators
// Disable assignment operators
...
...
src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.H
View file @
af4f1f42
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011
-2012
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -278,6 +278,12 @@ public:
return
internalField_
;
}
//- Return true if this patch field fixes a value
virtual
bool
fixesValue
()
const
{
return
false
;
}
//- Return true if this patch field is coupled
virtual
bool
coupled
()
const
{
...
...
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