Skip to content
Snippets Groups Projects
Commit 6b007fe2 authored by Christian Engwer's avatar Christian Engwer
Browse files

improve docu

[[Imported from SVN: r5596]]
parent 9679b547
No related branches found
No related tags found
No related merge requests found
...@@ -37,24 +37,40 @@ namespace Dune { ...@@ -37,24 +37,40 @@ namespace Dune {
#ifndef DUNE_EXPRESSIONTEMPLATES #ifndef DUNE_EXPRESSIONTEMPLATES
/**
\private
\memberof FieldVector
*/
template<class K> template<class K>
inline double fvmeta_absreal (const K& k) inline double fvmeta_absreal (const K& k)
{ {
return std::abs(k); return std::abs(k);
} }
/**
\private
\memberof FieldVector
*/
template<class K> template<class K>
inline double fvmeta_absreal (const std::complex<K>& c) inline double fvmeta_absreal (const std::complex<K>& c)
{ {
return fvmeta_abs(c.real()) + fvmeta_abs(c.imag()); return fvmeta_abs(c.real()) + fvmeta_abs(c.imag());
} }
/**
\private
\memberof FieldVector
*/
template<class K> template<class K>
inline double fvmeta_abs2 (const K& k) inline double fvmeta_abs2 (const K& k)
{ {
return k*k; return k*k;
} }
/**
\private
\memberof FieldVector
*/
template<class K> template<class K>
inline double fvmeta_abs2 (const std::complex<K>& c) inline double fvmeta_abs2 (const std::complex<K>& c)
{ {
......
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