Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Defining parameters as vector
Posted 08.06.2022, 03:55 GMT-4 Version 5.6 3 Replies
Please login with a confirmed email address before reporting spam
Hello everyone,
I am trying to define a parameter as a vector, but using {1, 2, 3} gives the error "Vector parameter definitions are not allowed". I tried different syntaxes but it seems that the probleme comes from the place where I try to define the vector.
I intend to use this vector as an argument for an external C function as it seems that Comsol can pass such argument. The external function is used to define boundary conditions.
Does anyone have any idea on either how to define parameter as vector or how to use vector as input for an external function ?
Thank you for your help.