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
564
March 10, 2023
Initialization of function on Real element
dolfinx
1
922
January 16, 2023
Convert Function to UFL type
dolfinx
18
1329
May 8, 2023
Updating dof of dolfinx.fem.function.Function using Midpoint time stepping
General
2
341
May 31, 2023
Hyperelasticity example
dolfinx
2
105
April 24, 2024