10#ifndef CNetWithAttractor_H
11#define CNetWithAttractor_H
14#include <net/CNetStructure.h>
15#include "CAttractorBase.h"
28 virtual void OdeFcn(
const double dT,
const double*
const adX,
double*
const adXDot,
const bool bIsMajorTimeStep);
29 virtual void FinalSetup(
const double dT,
const double *
const adX, ISimObjectCreator *
const pCreator);
32 void AddNetForces(
const double dT,
const double*
const adX);
33 void AddAttractorForces(
const double*
const adX);
35 std::vector<CAttractorBase*> m_VAttractors;
Definition: CNetStructure.h:203
Class containing a net object with functionality to be affected by attractors.
Definition: CNetWithAttractor.h:19
std::string m_sAttractorName
The name of the attractor.
Definition: CNetWithAttractor.h:38
~CNetWithAttractor()
The destructor deletes dynamically allocated memory.
CNetWithAttractor(std::string sSimObjectName, ISimObjectCreator *pCreator)
The constructor sets the pointer to the output object and the parser object.
virtual void OdeFcn(const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep)
Does nothing, as the object contains no states.