![]() |
OpenPFC
0.1.4
Phase Field Crystal simulation framework
|
Apply 3D function f(x,y,z) to all field points.
Apply 3D function f(x,y,z) to all field pointsEvaluates the function at each grid point's physical coordinates and assigns the result to that point. This is the most common way to initialize fields with analytical functions.
| Function3D | Function type callable with (double, double, double) |
| func | Function to apply, must return type convertible to T |
mathematical functions