4
$\begingroup$

I'm quite new to AceGen and I'm not getting the function of SMSFreeze[]. The manual writes the following:

SMSFreeze[symbol,{exp1 ,exp2 ,{exp3…}..},allOptions]

create data objects that represent elements of arbitrarily structured list of expressions {exp1 ,exp2 ,{exp3…}..} accordingly to given options allOptions. New auxiliary variables with the values {exp1 ,exp2 ,{exp3…}...} and random signature are then generated and the resulting arbitrarily structured list is then assigned to symbol symbol. The process can be additionally altered by special options listed below that are valid only for input expressions that are arbitrarily structured lists of expressions.

Does anyone has a better explanation for me with a specific usecase?

Thanks in advance.

$\endgroup$
1
  • $\begingroup$ Welcome to Mathematica.SE! I hope you will become a regular contributor. To get started, 1) take the introductory tour now, 2) when you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge, 3) remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign, and 4) give help too, by answering questions in your areas of expertise. $\endgroup$
    – bbgodfrey
    Jul 16 at 13:12
1
$\begingroup$

The primal (there are also others) purpose of SMSFreeze function is to transform an expression into an independent variable for differentiation. E.g. if you write D[f(x),x], "x" obviously has to be a variable not an expression. There are plenty of examples of its use in finite element examples.

$\endgroup$
1
  • $\begingroup$ Do you have an idea how to solve this question? $\endgroup$
    – user21
    Jul 26 at 4:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.