FEniCS Project
Initialize function to 0 in dolfinx
dolfinx
dokken
October 13, 2022, 9:47am
5
If you simply want to initialize it to zero, I would suggest
u.x.set(0)
3 Likes
WARNING:UFL:Couldn't map 'c_3' to a float, returning ufl object without evaluation
show post in topic
Related topics
Topic
Replies
Views
Activity
Error in assigning function values in Matrix-free solution in dolfinx
dolfinx
2
570
March 10, 2023
Initialization of function on Real element
dolfinx
1
949
January 16, 2023
How to define regional initial condition in latest dolfinx?
dolfinx
3
27
November 21, 2024
Convert Function to UFL type
dolfinx
18
1359
May 8, 2023
Updating dof of dolfinx.fem.function.Function using Midpoint time stepping
General
2
348
May 31, 2023