Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
agnumpde
dune-tnnmg
Commits
82f6a3ea
Commit
82f6a3ea
authored
Mar 06, 2016
by
Carsten Gräser
Browse files
Remove ConstantFunction implementation it's in dune/solvers/tests/common.hh
parent
4c9e2b97
Pipeline
#1162
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
dune/tnnmg/test/gradientmethodtest.cc
View file @
82f6a3ea
...
...
@@ -27,23 +27,6 @@
#include
<dune/solvers/test/common.hh>
template
<
class
DomainType
,
class
RangeType
>
class
ConstantFunction
:
public
Dune
::
VirtualFunction
<
DomainType
,
RangeType
>
{
public:
ConstantFunction
(
double
c
)
:
c_
(
c
)
{}
void
evaluate
(
const
DomainType
&
x
,
RangeType
&
y
)
const
{
y
=
c_
;
}
private:
double
c_
;
};
template
<
class
F
>
...
...
@@ -287,6 +270,7 @@ bool checkWithYaspGrid(int refine, const std::string fileName="")
int
main
(
int
argc
,
char
**
argv
)
try
{
Dune
::
MPIHelper
::
instance
(
argc
,
argv
);
bool
passed
(
true
);
...
...
Write
Preview
Supports
Markdown
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