Gradient Computation
Module: devtests.FEMLIB.gradient.run
Section author: Gernot Plank <gernot.plank@medunigraz.at>
This script tests the gradient computation tool FEMLIB/GlGradient
This test defines a small cuboid and prescribes the scalar field where is the distance to the origin.
Generate scalar test data at mesh nodes, compute gradient at mesh nodes and compare against reference.
Checks:
Last run: 2024-02-29 00:06:17.816122, revision {‘base’: ‘cbf8efd0’}, dependency revisions {PT_C: 31642c1e,cvsys: 593686bc,eikonal: 5fbbfda3,elasticity: 4d92ddfc}
Runtime: 0:00:00.750913
ALL PASSED
PASS max_error(gradient.vtx.grad.vec): 9.000000000033287e-09
Generate scalar test data on mesh nodes, compute gradient at element centers and compare against reference.
Checks:
Last run: 2024-02-29 00:06:18.598682, revision {‘base’: ‘cbf8efd0’}, dependency revisions {PT_C: 31642c1e,cvsys: 593686bc,eikonal: 5fbbfda3,elasticity: 4d92ddfc}
Runtime: 0:00:00.534547
ALL PASSED
PASS max_error(gradient.ctr.mag.dat): 1.1999999999972102e-08