curvlev3new
algorithm
- extracts curvature values on a 3d surface from a 3D matrix:
mean curvature, gauss curvature and principal curvatures - calculates curvature values of a surface given in implicit form (Article of Hughes)
- note: curvlev3new needs curvature values in the matrix;
- use curv3new to calculate the curvature values in the matrix
syntax
[var1,var2,var3,var4]=curvlev3new(X,Y,Z,KG,H,K1,K2,fdefine,level,s)
example for input
[var1,var2,var3,var4]=curvlev3new(X,Y,Z,KG,H,K1,K2,CO2,0.03,'abs')
input arguments
X,Y,Z |
vectors defining the rectangular domain |
KG |
Gauss curvature (matrix) |
H |
mean curvature (matrix) |
K1, K2 |
principal curvatures (matrix) |
fdefine |
variable defining the flame front |
level |
isolevel defining the flame front |
s |
switch between absolut and relative values for level |
output arguments
var1 |
Gauss curvature (surface) |
var2 |
mean curvature (surface) |
var3, var4 |
principal curvatures (surface) |
matlab tools required
- gradient