MotionSolver< DataType, dim > Class Template Reference

#include <MotionSolver.h>

Inheritance diagram for MotionSolver< DataType, dim >:
Solver Solver controlable controlable MotionCoupledSolver< DataType, dim > MotionELCCoupledSolver< DataType, dim > MotionELCCoupledSolver< DataType, DIM >

List of all members.

Public Types

typedef ads::FixedArray< dim,
DataType
point_type
typedef ads::FixedArray< dim, int > multi_index_type
typedef Joint< DataType, dim > JointType
typedef DH_Link< DataType, dim > LinkType
typedef DH_Chain< DataType, dim > ChainType
typedef Scene< DataType, dim > SceneType
typedef Assembly< DataType, dim > AssemblyType
typedef Part< DataType, dim > PartType
typedef Curve< DataType, dim > CurveType
typedef SplineCurve< DataType,
dim > 
SplineCurveType
typedef Surface< DataTypeSurfaceType
typedef Loft< DataTypeLoftType
typedef Facet< DataTypeFacetType
typedef Solver base
typedef ads::FixedArray< dim,
DataType
point_type
typedef ads::FixedArray< dim, int > multi_index_type

Public Member Functions

 MotionSolver ()
 ~MotionSolver ()
std::ostream & log ()
virtual void register_at (ControlDevice &Ctrl, const std::string &prefix)
virtual void register_at (ControlDevice &Ctrl)
virtual bool specificSetup ()
virtual bool setup ()
virtual void finish ()
virtual void SetVertices (double &t)
virtual void UpdateVertices (double &t)
virtual void SetVelocities (double &t)
virtual void UpdateVelocities (double &t)
virtual void Initialize (double &t, double &dt)
virtual void movement (double &t, double &dt)
virtual void pressureForce ()
virtual void logLoads ()
virtual void Advance (double &t, double &dt)
virtual void Output ()
virtual void Restart (double &t, double &dt)
virtual void Checkpointing ()
double CurrentTime () const
virtual int NSteps ()
virtual double CurrentDt () const
virtual int LogEvery ()
SceneType_Scene ()
const SceneType_Scene () const
MotionSolver_Motion ()
const MotionSolver_Motion () const
int isRestart () const
 MotionSolver ()
 ~MotionSolver ()
virtual void register_at (ControlDevice &Ctrl, const std::string &prefix)
virtual void register_at (ControlDevice &Ctrl)
virtual bool setup ()
virtual void finish ()
virtual void SetVertices (double &t)
virtual void SetVelocities (double &t)
virtual void Initialize (double &t, double &dt)
virtual void Advance (double &t, double &dt)
virtual void Output ()
virtual void Restart (double &t, double &dt)
virtual void Checkpointing ()
double CurrentTime () const
virtual int NSteps ()

Protected Attributes

DataType xs [dim]
DataType Tr
DataType pi
DataType scale
double dtret
double time
std::string brep_filename
std::string vel_filename
std::string OutputName
std::string CheckpointName
int brep_filetype
int vel_filetype
int num_vertices
int num_connections
int steps
int log_every
point_typeinitial_vertices
point_typevertices
point_typevelocities
multi_index_typeconnections
int * nodeids
DataTypepressures
int numAssemblies
int numDHChains
int numDHLinks
int numDHJoints
AssemblyControl AssemblyCtrl [maxAssemblies]
ControlDevice MainCtrl
ControlDevice LocCtrl
SceneType TheScene
DHChainControl DHChainCtrls [ChainLimit]
LinkControl LinkCtrls [LinkLimit]
JointControl JointCtrls [JointLimit]
int pos
int motionRestart
std::ostream * _bolog

Detailed Description

template<class DataType, int dim>
class MotionSolver< DataType, dim >

Prototypical turbine assembly posed with a Denavit-Hartenberg kinematic chain that branches
at the rotor subassembly to connect each blade.


Member Typedef Documentation

template<class DataType , int dim>
typedef Assembly<DataType,dim> MotionSolver< DataType, dim >::AssemblyType
template<class DataType , int dim>
typedef Solver MotionSolver< DataType, dim >::base
template<class DataType , int dim>
typedef DH_Chain<DataType,dim> MotionSolver< DataType, dim >::ChainType
template<class DataType , int dim>
typedef Curve<DataType,dim> MotionSolver< DataType, dim >::CurveType
template<class DataType , int dim>
typedef Facet<DataType> MotionSolver< DataType, dim >::FacetType
template<class DataType , int dim>
typedef Joint<DataType,dim> MotionSolver< DataType, dim >::JointType
template<class DataType , int dim>
typedef DH_Link<DataType,dim> MotionSolver< DataType, dim >::LinkType
template<class DataType , int dim>
typedef Loft<DataType> MotionSolver< DataType, dim >::LoftType
template<class DataType , int dim>
typedef ads::FixedArray<dim,int> MotionSolver< DataType, dim >::multi_index_type
template<class DataType , int dim>
typedef ads::FixedArray<dim,int> MotionSolver< DataType, dim >::multi_index_type
template<class DataType , int dim>
typedef Part<DataType,dim> MotionSolver< DataType, dim >::PartType
template<class DataType , int dim>
typedef ads::FixedArray<dim,DataType> MotionSolver< DataType, dim >::point_type
template<class DataType , int dim>
typedef ads::FixedArray<dim,DataType> MotionSolver< DataType, dim >::point_type
template<class DataType , int dim>
typedef Scene<DataType,dim> MotionSolver< DataType, dim >::SceneType
template<class DataType , int dim>
typedef SplineCurve<DataType,dim> MotionSolver< DataType, dim >::SplineCurveType
template<class DataType , int dim>
typedef Surface<DataType> MotionSolver< DataType, dim >::SurfaceType

Constructor & Destructor Documentation

template<class DataType , int dim>
MotionSolver< DataType, dim >::~MotionSolver (  )  [inline]

Member Function Documentation

template<class DataType , int dim>
const MotionSolver& MotionSolver< DataType, dim >::_Motion (  )  const [inline]
template<class DataType , int dim>
MotionSolver& MotionSolver< DataType, dim >::_Motion (  )  [inline]
template<class DataType , int dim>
const SceneType& MotionSolver< DataType, dim >::_Scene (  )  const [inline]
template<class DataType , int dim>
SceneType& MotionSolver< DataType, dim >::_Scene (  )  [inline]
template<class DataType , int dim>
virtual void MotionSolver< DataType, dim >::Checkpointing (  )  [inline, virtual]
template<class DataType , int dim>
virtual double MotionSolver< DataType, dim >::CurrentDt (  )  const [inline, virtual]
template<class DataType , int dim>
double MotionSolver< DataType, dim >::CurrentTime (  )  const [inline]
template<class DataType , int dim>
double MotionSolver< DataType, dim >::CurrentTime (  )  const [inline]
template<class DataType , int dim>
virtual void MotionSolver< DataType, dim >::finish (  )  [inline, virtual]

Reimplemented from Solver.

template<class DataType , int dim>
virtual void MotionSolver< DataType, dim >::finish (  )  [inline, virtual]

Reimplemented from Solver.

References MotionSolver< DataType, dim >::log().

template<class DataType , int dim>
virtual void MotionSolver< DataType, dim >::Initialize ( double &  t,
double &  dt 
) [inline, virtual]
template<class DataType , int dim>
int MotionSolver< DataType, dim >::isRestart (  )  const [inline]
template<class DataType , int dim>
virtual int MotionSolver< DataType, dim >::LogEvery (  )  [inline, virtual]
template<class DataType , int dim>
virtual void MotionSolver< DataType, dim >::movement ( double &  t,
double &  dt 
) [inline, virtual]
template<class DataType , int dim>
virtual int MotionSolver< DataType, dim >::NSteps (  )  [inline, virtual]
template<class DataType , int dim>
virtual int MotionSolver< DataType, dim >::NSteps (  )  [inline, virtual]
template<class DataType , int dim>
virtual void MotionSolver< DataType, dim >::register_at ( ControlDevice &  Ctrl  )  [inline, virtual]
template<class DataType , int dim>
virtual void MotionSolver< DataType, dim >::register_at ( ControlDevice &  Ctrl  )  [inline, virtual]
template<class DataType , int dim>
virtual void MotionSolver< DataType, dim >::register_at ( ControlDevice &  Ctrl,
const std::string &  prefix 
) [inline, virtual]

Controls for Assemblies & Denavit-Hartenberg Kinematic Chains and simple motion; complex motion is described in SolidProblem.h or in mechanism headers in a case src/

Assemblies

Denavit-Hartenberg Kinematic Chains

Reimplemented from Solver.

Reimplemented in MotionSpecific, MotionSpecific, MotionSpecific, MotionSpecific, MotionSpecific, and MotionCoupledSolver< DataType, dim >.

References MotionSolver< DataType, dim >::AssemblyCtrl, MotionSolver< DataType, dim >::brep_filename, MotionSolver< DataType, dim >::brep_filetype, ChainLimit, MotionSolver< DataType, dim >::CheckpointName, MotionSolver< DataType, dim >::DHChainCtrls, MotionSolver< DataType, dim >::dtret, MotionSolver< DataType, dim >::JointCtrls, JointLimit, MotionSolver< DataType, dim >::LinkCtrls, MotionSolver< DataType, dim >::LocCtrl, MotionSolver< DataType, dim >::log_every, maxAssemblies, maxLinks, MotionSolver< DataType, dim >::motionRestart, MotionSolver< DataType, dim >::numAssemblies, MotionSolver< DataType, dim >::numDHChains, MotionSolver< DataType, dim >::numDHJoints, MotionSolver< DataType, dim >::numDHLinks, MotionSolver< DataType, dim >::OutputName, DHChainControl::register_at(), LinkControl::register_at(), JointControl::register_at(), AssemblyControl::register_at(), MotionSolver< DataType, dim >::scale, MotionSolver< DataType, dim >::Tr, MotionSolver< DataType, dim >::vel_filename, and MotionSolver< DataType, dim >::xs.

Referenced by MotionSolver< DataType, dim >::register_at(), MotionCoupledSolver< DataType, dim >::register_at(), and MotionSolver< DataType, dim >::setup().

template<class DataType , int dim>
virtual void MotionSolver< DataType, dim >::Restart ( double &  t,
double &  dt 
) [inline, virtual]
template<class DataType , int dim>
virtual void MotionSolver< DataType, dim >::SetVelocities ( double &  t  )  [inline, virtual]
template<class DataType , int dim>
virtual bool MotionSolver< DataType, dim >::specificSetup (  )  [inline, virtual]

Member Data Documentation

template<class DataType , int dim>
std::ostream* MotionSolver< DataType, dim >::_bolog [protected]
template<class DataType , int dim>
AssemblyControl MotionSolver< DataType, dim >::AssemblyCtrl[maxAssemblies] [protected]
template<class DataType , int dim>
std::string MotionSolver< DataType, dim >::brep_filename [protected]
template<class DataType , int dim>
int MotionSolver< DataType, dim >::brep_filetype [protected]
template<class DataType , int dim>
DHChainControl MotionSolver< DataType, dim >::DHChainCtrls[ChainLimit] [protected]
template<class DataType , int dim>
JointControl MotionSolver< DataType, dim >::JointCtrls[JointLimit] [protected]
template<class DataType , int dim>
LinkControl MotionSolver< DataType, dim >::LinkCtrls[LinkLimit] [protected]
template<class DataType , int dim>
ControlDevice MotionSolver< DataType, dim >::LocCtrl [protected]
template<class DataType , int dim>
ControlDevice MotionSolver< DataType, dim >::MainCtrl [protected]
template<class DataType , int dim>
int MotionSolver< DataType, dim >::motionRestart [protected]
template<class DataType , int dim>
int MotionSolver< DataType, dim >::numAssemblies [protected]
template<class DataType , int dim>
int MotionSolver< DataType, dim >::numDHChains [protected]
template<class DataType , int dim>
int MotionSolver< DataType, dim >::numDHJoints [protected]
template<class DataType , int dim>
int MotionSolver< DataType, dim >::numDHLinks [protected]
template<class DataType , int dim>
int MotionSolver< DataType, dim >::pos [protected]
template<class DataType , int dim>
std::string MotionSolver< DataType, dim >::vel_filename [protected]
template<class DataType , int dim>
int MotionSolver< DataType, dim >::vel_filetype [protected]

The documentation for this class was generated from the following files:
Generated on Thu Jun 30 02:18:58 2016 for Motion - rigid body dynamics solver by  doxygen 1.6.3