Hello,
I am using ChElementBeamIGA and I wish to see the Knot sequence.
I obtained a ChVectorDynamicD with the command :
knots = element.GetKnotSquence()
but I do not manage to print its content...

I tried to get it with :
- knots[0]
- knots.GetVectData(0)
- knots.GetVect()

However, each of my tentatives sold with a core dumped. The exact error is :

eigen-3.4.0/Eigen/src/Core/DenseCoeffsBase.h:367: 
Eigen::internal::traits<Derived>::Scalar &Eigen::DenseCoeffsBase<Derived, 
1>::operator()(long, long) [with Derived = Eigen::Matrix<double, -1, 1, 0, 
-1, 1>]: Assertion `row >= 0 && row < rows() && col >= 0 && col < cols()' 
failed.
Aborted (core dumped)


Is this the correct way to access the content of a ChVectorDynamicD or is 
there an other way ?

Thank you in advance for your help,

Nicolas

-- 
You received this message because you are subscribed to the Google Groups 
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/28b45e6e-571b-44f7-8437-6c8afad8f11bn%40googlegroups.com.

Reply via email to