Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
ea59025d
Commit
ea59025d
authored
Jul 11, 2019
by
Timo Koch
Browse files
[fvproblem][doc] Improve docstring of enableInternalDirichletConstraints()
parent
7d859388
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/common/fvproblem.hh
View file @
ea59025d
...
...
@@ -249,10 +249,18 @@ public:
/*!
* \brief If internal Dirichlet contraints are enabled
* Enables / disables internal (non-boundary) Dirichlet constraints. If this is overloaded
* to return true, the assembler calls problem.hasInternalDirichletConstraint(element, scv)
* which has to return a bool signifying whether the dof associated with is contraint.
* If true is returned for a dof, the assembler calls problem.internalDiririchlet(element, scv)
* which has to return the enforced Dirichlet values for that dof.
* to return true, the assembler calls problem.hasInternalDirichletConstraint(element, scv).
* This means you have to implement the following member function
*
* bool hasInternalDirichletConstraint(const Element& element, const SubControlVolume& scv) const;
*
* which returns a bool signifying whether the dof associated with the element/scv pair is contraint.
* If true is returned for a dof, the assembler calls problem.internalDiririchlet(element, scv).
* This means you have to additionally implement the following member function
*
* PrimaryVariables internalDiririchlet(const Element& element, const SubControlVolume& scv) const;
*
* which returns the enforced Dirichlet values the dof associated with the element/scv pair.
*/
static
constexpr
bool
enableInternalDirichletConstraints
()
{
return
false
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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