143 struct NlAddScopeData
159 NlAddScopeData m_nlAddScopeData;
Interface class for solver callbacks.
Essentially a sparse array of bounds.
agx::UInt getScopePermutedMatrixRow() const
const NlmcpCallbacks & getCallbacks() const
void beginNlAddScope(agx::UInt permutedMatrixRow, agx::UInt iterativeRow)
Begin scope where NlmcpCallback instances are added given permuted matrix row.
int save_hdf5(void *group, const agx::String &name) const
write the array to an hdf5 stream, here disguised as the void * pointer
SparseRangeReal()
Default constructor.
agx::Bool add(agx::NlmcpCallback *callback, agx::UInt localRow, agx::UInt numRows)
Add nl-callback to receive callbacks during solves.
agx::UInt getScopeIterativeRow() const
agx::Bool isBoundedByNlCallback(agx::UInt row, agx::UInt searchDepth) const
void sort()
Sort given 'index' in IndexedRangeReal and updates indices of added nl-callbacks.
int load_hdf5(const agx::String &filename, const agx::String &name)
read the array to file in hdf5 format, with given name.
agx::UInt endNlAddScope()
End 'add new nl-callbacks' scope.
int save_hdf5(const agx::String &filename, const agx::String &name) const
write the array to file in hdf5 format, with given name.
int load_hdf5(void *group, const agx::String &name)
read the array from an hdf5 stream, here disguised as the void * pointer
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
AGXCORE_EXPORT const InvalidIndexStruct InvalidIndex
Data type to bind an index and ranges associated with it.
IndexedRangeReal(agx::UInt idx, agx::RangeReal rr)
IndexedRangeReal(agx::UInt idx, agx::RangeReal rr, Trace trace)