version 3.9.0
Loading...
Searching...
No Matches
normal.hh File Reference

Helper functions for normals.

#include <algorithm>
#include <dune/common/float_cmp.hh>

Go to the source code of this file.

Namespaces

namespace  Dumux
 

Functions

template<class Vector >
Vector Dumux::normal (const Vector &v)
 Create a vector normal to the given one (v is expected to be non-zero)
 
template<class Vector >
Vector Dumux::unitNormal (const Vector &v)
 Create a vector normal to the given one (v is expected to be non-zero)