I'm trying to create a Cosserat beam in python using the full matrix with 
coupling terms. I think the call to the constructor is correct, but I get a 
type error

Call (Klaw is a  pychrono.ChMatrixDynamicD 6x6): 
melasticity = fea.ChElasticityCosseratAdvancedGenericFPM(Klaw, 0.0, 0.0, 
0.0, 0.0, 0.0, 0.0) 

Error:
TypeError: Wrong number or type of arguments for overloaded function 
'new_ChElasticityCosseratAdvancedGenericFPM'.
  Possible C/C++ prototypes are:
    
chrono::fea::ChElasticityCosseratAdvancedGenericFPM::ChElasticityCosseratAdvancedGenericFPM()
    
chrono::fea::ChElasticityCosseratAdvancedGenericFPM::ChElasticityCosseratAdvancedGenericFPM(chrono::ChMatrixNM<
 
double,6,6 > const,double const,double const,double const,double 
const,double const,double const)

I assume this is a problem with the call not being correctly defined in the 
python wrapper, but I don't know how to fix it. Is there other route that 
may work?
I also tried instantiating  ChElasticityCosseratAdvancedGenericFPMand then 
using SetEMatrix but no luck that way either.
Thank you for your time

-- 
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/61be7629-c3cc-4bff-a2e0-595e67cff81cn%40googlegroups.com.

Reply via email to