Repository navigation
Is it possible to pass vector parameters using equation_systems.parameters.set #3724
|
Is it possible to pass vector parameters using equation_systems.parameters.set, and if so, how? Are there any examples? |
Replies: 2 comments 2 replies
I don't think it's possible. If you want to pass more than scalar integer or floating point values to your Assembly routine, you should consider using the
|
|
We do have |
I don't think it's possible. If you want to pass more than scalar integer or floating point values to your Assembly routine, you should consider using the
System::attach_assemble_object()API instead ofSystem::attach_assemble_function(). The former allows you to define a C++ class with any contents you like, while the latter requires you to store data onEquationSystemsobject via theset()API and is less flexible. See systems_of_equations_ex6 and ex9 for examples of usingSystem::attach_assemble_object().