Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dune-fem-dg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dune-fem
dune-fem-dg
Commits
589e4dca
Commit
589e4dca
authored
10 years ago
by
Robert Kloefkorn
Browse files
Options
Downloads
Patches
Plain Diff
added missing method gradient to the ProblemInterface.
parent
91d543e3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/fem-dg/models/defaultprobleminterfaces.hh
+10
-3
10 additions, 3 deletions
dune/fem-dg/models/defaultprobleminterfaces.hh
with
10 additions
and
3 deletions
dune/fem-dg/models/defaultprobleminterfaces.hh
+
10
−
3
View file @
589e4dca
...
...
@@ -2,6 +2,8 @@
#define DUNE_DEFAULTPROBLEMINTERFACE_HH
#include
<dune/common/version.hh>
#include
<dune/common/exceptions.hh>
#include
<dune/fem/function/common/timedependentfunction.hh>
#include
<dune/fem/misc/gridsolution.hh>
...
...
@@ -153,6 +155,7 @@ public:
{
velocity
(
x
,
v
);
}
/**
* @brief old version of the exact solution
*
...
...
@@ -311,9 +314,13 @@ public:
v
=
0
;
}
//! the gradient of the exact solution
//virtual void gradient(const DomainType& x,
// JacobianRangeType& grad) const = 0;
//! the gradient of the exact solution (default is empty)
virtual
void
gradient
(
const
DomainType
&
x
,
JacobianRangeType
&
grad
)
const
{
assert
(
false
);
DUNE_THROW
(
NotImplemented
,
"ProblemInterface::gradient not overloaded but called!"
);
}
//! return whether boundary is Dirichlet (true) or Neumann (false)
virtual
bool
dirichletBoundary
(
const
int
bndId
,
const
DomainType
&
x
)
const
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment