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

export type used for coordinates

[[Imported from SVN: r4052]]
parent b3baaa72
No related branches found
No related tags found
No related merge requests found
......@@ -5,11 +5,14 @@
#include "rotation.hh"
/** \brief A rigid-body motion in, R^d, i.e., a member of SE(d) */
template <int dim, class ctype=double>
template <int dim, class T=double>
struct RigidBodyMotion
{
/** \brief Type of an infinitesimal rigid body motion */
typedef Dune::FieldVector<ctype, dim + Rotation<dim,ctype>::TangentVector::size> TangentVector;
typedef Dune::FieldVector<T, dim + Rotation<dim,T>::TangentVector::size> TangentVector;
/** \brief The type used for coordinates */
typedef T ctype;
/** \brief The exponential map from a given point $p \in SE(d)$. */
static RigidBodyMotion<dim,ctype> exp(const RigidBodyMotion<dim,ctype>& p, const TangentVector& v) {
......
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