I am trying to create two arrays of the same size for a class.
I define a "material" class and assign a material properties "rho","cp" and "lambda". I do calculations with these properties at 10 different locations and put the output in a 5×2 matrix. Now I want to perform these same calculations for the same "material" object, but I want to assign different values for the defined properties to perform the calculations with.
Is there an easy way to implement this or is it recommended to create a new "material" object to accomplish this?
Best Answer