SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::component::projectiveconstraintset::OscillatorConstraint< TDataTypes >::Oscillator Struct Reference

#include <OscillatorConstraint.h>

Public Attributes

unsigned int index
 
Coord mean
 
Deriv amplitude
 
Real pulsation
 
Real phase
 

Public Member Functions

 Oscillator ()
 
 Oscillator (unsigned int i, const Coord &m, const Deriv &a, const Real &w, const Real &p)
 

Friends

std::istream & operator>> (std::istream &in, Oscillator &o)
 
std::ostream & operator<< (std::ostream &out, const Oscillator &o)
 

Attribute details

template<class TDataTypes >
Deriv sofa::component::projectiveconstraintset::OscillatorConstraint< TDataTypes >::Oscillator::amplitude
template<class TDataTypes >
unsigned int sofa::component::projectiveconstraintset::OscillatorConstraint< TDataTypes >::Oscillator::index
template<class TDataTypes >
Coord sofa::component::projectiveconstraintset::OscillatorConstraint< TDataTypes >::Oscillator::mean
template<class TDataTypes >
Real sofa::component::projectiveconstraintset::OscillatorConstraint< TDataTypes >::Oscillator::phase
template<class TDataTypes >
Real sofa::component::projectiveconstraintset::OscillatorConstraint< TDataTypes >::Oscillator::pulsation

Constructor details

template<class TDataTypes >
sofa::component::projectiveconstraintset::OscillatorConstraint< TDataTypes >::Oscillator::Oscillator ( )
template<class TDataTypes >
sofa::component::projectiveconstraintset::OscillatorConstraint< TDataTypes >::Oscillator::Oscillator ( unsigned int  i,
const Coord m,
const Deriv a,
const Real w,
const Real p 
)

Related details

template<class TDataTypes >
std::ostream& operator<< ( std::ostream &  out,
const Oscillator o 
)
friend
template<class TDataTypes >
std::istream& operator>> ( std::istream &  in,
Oscillator o 
)
friend