Skip to content
Snippets Groups Projects
Commit fd4a0a65 authored by Oliver Sander's avatar Oliver Sander Committed by sander@PCPOOL.MI.FU-BERLIN.DE
Browse files

add more consts

[[Imported from SVN: r5531]]
parent 55969fb2
No related branches found
No related tags found
No related merge requests found
...@@ -30,13 +30,13 @@ public: ...@@ -30,13 +30,13 @@ public:
} }
void assembleGradient(const TargetSpace& x, void assembleGradient(const TargetSpace& x,
typename TargetSpace::EmbeddedTangentVector& gradient) typename TargetSpace::EmbeddedTangentVector& gradient) const
{ {
DUNE_THROW(Dune::NotImplemented, "assembleGradient"); DUNE_THROW(Dune::NotImplemented, "assembleGradient");
} }
void assembleMatrix(const TargetSpace& x, void assembleMatrix(const TargetSpace& x,
Dune::FieldMatrix<double,size,size>& matrix) Dune::FieldMatrix<double,size,size>& matrix) const
{ {
DUNE_THROW(Dune::NotImplemented, "assembleMatrix"); DUNE_THROW(Dune::NotImplemented, "assembleMatrix");
} }
...@@ -63,7 +63,7 @@ public: ...@@ -63,7 +63,7 @@ public:
weights_(weights) weights_(weights)
{} {}
double value(const TargetSpace& x) { double value(const TargetSpace& x) const {
double result = 0; double result = 0;
for (size_t i=0; i<coefficients_.size(); i++) { for (size_t i=0; i<coefficients_.size(); i++) {
...@@ -75,13 +75,13 @@ public: ...@@ -75,13 +75,13 @@ public:
} }
void assembleGradient(const TargetSpace& x, void assembleGradient(const TargetSpace& x,
TargetSpace::TangentVector& gradient) TargetSpace::TangentVector& gradient) const
{ {
DUNE_THROW(Dune::NotImplemented, "assembleGradient"); DUNE_THROW(Dune::NotImplemented, "assembleGradient");
} }
void assembleMatrix(const TargetSpace& x, void assembleMatrix(const TargetSpace& x,
Dune::FieldMatrix<double,size,size>& matrix) Dune::FieldMatrix<double,size,size>& matrix) const
{ {
DUNE_THROW(Dune::NotImplemented, "assembleMatrix"); DUNE_THROW(Dune::NotImplemented, "assembleMatrix");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment