22 #pragma warning( push ) 23 #pragma warning( disable : 4589 ) // Disable: 4589: Constructor of abstract class 'agx::FrictionModel' ignores initializer for virtual base class 'agxStream::Serializable' 34 class SparseRangeReal;
46 #if (!defined SWIG ) || (!defined SWIGCSHARP && !defined SWIGJAVA) 51 template<
typename T >
93 virtual void addNotification()
override;
98 virtual void removeNotification()
override;
118 virtual void prepare();
120 #if (!defined SWIG ) || (!defined SWIGCSHARP && !defined SWIGJAVA) 182 template<
typename T >
183 void StrongInteraction::MatrixData::plusEqual(
const T& rhs,
const agx::UInt numRows,
const agx::UInt numCols )
186 if ( writeTranspose )
187 for (
agx::UInt i = 0; i < numRows; ++i )
188 for (
agx::UInt j = 0; j < numCols; ++j )
189 data[ j * leadingDimension + i ] += rhs[ i ][ j ];
191 for (
agx::UInt i = 0; i < numRows; ++i )
192 for (
agx::UInt j = 0; j < numCols; ++j )
193 data[ i * leadingDimension + j ] += rhs[ i ][ j ];
197 #if defined(_MSC_VER) 198 #pragma warning( pop ) // restoring: warning( disable : 4127 ) InputRef< T > in(const char *name, T &obj)
Create an object with a name and a reference to the object that should be restored (usually a pointer...
OutputRef< Serializable > out(const char *name, const Serializable *obj)
Return an object that contain the name and the object that should be serialized to an archive...
Base class for a strong interaction concept where there interaction is defined in the mass matrix par...
#define AGXPHYSICS_EXPORT
AGXCORE_EXPORT const InvalidIndexStruct InvalidIndex
#define AGX_DECLARE_POINTER_TYPES(type)
Namespace containing classes for handling debug rendering of collision geometries, constraints, contacts and rigid bodies.
Class for managing the rendering of geometries, shapes, rigid bodies, constraints etc...
MatrixData(agx::Physics::RigidBodyPtr rb)
The base class for interactions.
Essentially a sparse array of bounds.
Pointer to a entity instance of type Physics.RigidBody.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
The rigid body class, combining a geometric model and a frame of reference.
unsigned int leadingDimension
The complete physical system with bodies, interactions, data layout, time stepper, and solver.
Class for writing serialized data in binary format to a stream.
#define AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE(T)
Use this in a pure abstract Serializable class to add the required methods Important: Use full namesp...
agx::Physics::RigidBodyPtr rb