21.01.2015 Views

COMSOL Multiphysics™

COMSOL Multiphysics™

COMSOL Multiphysics™

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

geominfo<br />

DD = reshape(ff2{m}(im1,im2,:,:),2,2). If the corresponding normal<br />

derivative DNN and Jacobian J are obtained as above, then DD = -DNN'*J.<br />

crv is a cell array of same size as Par containing curvature information of edges and<br />

faces. crv{m} is of size nm1-by-nm2-by-2 in 3D, where for a parameter point defined<br />

by the indices im1 and im2, crv{m}(im1,im2,1) is the curvature and<br />

crv{m}(im1,im2,2) is the torsion, when referring to an edge. The corresponding<br />

values obtained for a face is the Gaussian curvature and the mean curvature,<br />

respectively. In 2D, crv{m} is of size nm1-by-nm2 where crv{m}(im1,im2) contains<br />

the curvature of an edge for a given parameter.<br />

rng is a cell array of same length as Od, containing parameter range information for<br />

edges or faces. For edges, the first row in a matrix corresponds to the starting<br />

parameter value at the starting point, and the second row corresponds to the end<br />

parameter value at the end point. For faces, the first and third row contains the lower<br />

bounds on parameter values for the u and v parameters respectively. The second and<br />

fourth row contains the upper bounds on parameter values for the u and v<br />

parameters respectively. The range for geometry edges is from zero to the arc-length<br />

of each edge. If no Od is specified, rng is a matrix of range information for all edge<br />

curves, in 2D, or all faces, in 3D.<br />

ud is a matrix containing up (left) and down (right) subdomain numbering for<br />

boundary segments, in the first and second row, respectively. One column of ud<br />

corresponds to one boundary segment.<br />

sd is a vector containing the subdomain numbering of the vertices of mp. If a vertex<br />

is adjacent to more than one subdomain, the contents are NaN.<br />

There is a family of low-level geometry functions used by geominfo, for obtaining<br />

the geometric data described above. These can be called directly, which in some<br />

cases can be preferred. Their names and descriptions are given in the table below.<br />

TABLE 1-67: LOW-LEVEL GEOMETRY FUNCTIONS<br />

FUNCTION<br />

flgeomadj<br />

flgeomec<br />

flgeomed<br />

flgeomes<br />

flgeomfc<br />

flgeomfd<br />

DESCRIPTION<br />

Get geometry adjacency matrices<br />

Get curvature information from curve derivatives<br />

Get coordinates and derivatives for geometry edges<br />

Get parameter space size of geometry edge<br />

Get curvature from fundamental forms<br />

Get coordinates and derivatives for geometry faces<br />

227

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!