Lextree Simply the best software for managing legal entities and documents.
The Berkman Letter Practical analysis and commentary for business, law, and more.

Complex Conditionals?

0
stars
1
answer
1732
views

I'd like to change some material properties mid-simulation, and I feel the best way to do this is through conditional statements that depend on time.



Is there a way to add a complex conditional statement, for example:

(if t>some number AND temp at some time was > some number)

Basically can I use the temperature of an element at certain times during the simulation in conditional statements?

Answers
0
stars

Without specifying what programming language you are working in and providing more specifics, it is impossible to really answer your question. You can certainly create complex conditional statements and set variables to the appropriate values for evaluating the conditions in various programming languages. If you have a specific coding problem that you are trying to solve, I would recommend posting it at Stack Overflow.