using **kwarg in an Expression
Asked by
Mo
Hi folks,
I am trying to calculate an expression in a for loop. ja is a function. Part of my code is:
for i_a in range(mesh0.
ga = Expression(
LCSA = csa_prev*vs*dx - (difsa/
bcsa = assemble(LCSA, tensor=bcsa)
solve(ACSA, csa.vector(), bcsa)
Unfortunately, I receive this error when running:
*** Warning: Deprication warning: Use **kwargs to pass default values to member variables in an Expression.
And the result I receive is csa = nan.
How should I use **kwargs in an Expression in a for loop.
Any help is extremely appreciated.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Mo
- Solved:
- Last query:
- Last reply:
To post a message you must log in.