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

minor documentation additions

[[Imported from SVN: r8462]]
parent 8c11dfde
No related branches found
No related tags found
No related merge requests found
...@@ -473,6 +473,7 @@ evaluateDerivativeOfGradientWRTCoefficient(const Dune::FieldVector<ctype, dim>& ...@@ -473,6 +473,7 @@ evaluateDerivativeOfGradientWRTCoefficient(const Dune::FieldVector<ctype, dim>&
dvDqF = w[coefficient] * dvDqF; dvDqF = w[coefficient] * dvDqF;
// Put it all together // Put it all together
// dvq[i][j] = \partial q_j / \partial v_i
Dune::FieldMatrix<double,embeddedDim,embeddedDim> dvq; Dune::FieldMatrix<double,embeddedDim,embeddedDim> dvq;
evaluateDerivativeOfValueWRTCoefficient(local,coefficient,dvq); evaluateDerivativeOfValueWRTCoefficient(local,coefficient,dvq);
...@@ -528,6 +529,7 @@ evaluateFDDerivativeOfGradientWRTCoefficient(const Dune::FieldVector<ctype, dim> ...@@ -528,6 +529,7 @@ evaluateFDDerivativeOfGradientWRTCoefficient(const Dune::FieldVector<ctype, dim>
double eps = 1e-6; double eps = 1e-6;
static const int embeddedDim = TargetSpace::EmbeddedTangentVector::dimension; static const int embeddedDim = TargetSpace::EmbeddedTangentVector::dimension;
// loop over the different partial derivatives
for (int j=0; j<embeddedDim; j++) { for (int j=0; j<embeddedDim; j++) {
std::vector<TargetSpace> cornersPlus = coefficients_; std::vector<TargetSpace> cornersPlus = coefficients_;
......
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