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 />

no is a vector of the same size as Od, containing the number of primitive objects of<br />

the dimension as specified in Od.<br />

adj is a cell array of adjacency matrices, where adj{k} corresponds to Odp(:,k),<br />

and is a sparse matrix where abs(sign(adj{k}(i,j))) = 1 iff object i of<br />

dimension Odp(1,k) is adjacent to object j of dimension Odp(2,k). If the relation<br />

Odp(1,k) and Odp(2,k) can be given an orientation, the matrix entries +1 and -1<br />

denotes positive or negative orientation, respectively. If both oriented and non<br />

orientable relations exist, -1,+1, and +2 are used, where +2 indicates a non oriented<br />

relation. If Odp is a vector of length 2, then adj is a sparse matrix. For subdomain<br />

information, the 0-domain is represented as output domain number 1. Thus, there<br />

is always an offset of 1 for subdomains.<br />

xx is a cell array of same size as Par containing coordinate information, where xx{m}<br />

is an nm1-by-nm2-by-gd array, where gd is the geometry dimension, and nm1 and nm2<br />

are given from the size of Par{m}{2}. If the outer curly brackets in Par are not<br />

present, then xx is an n1-by-n2-by-gd array.<br />

dx is a cell array of same size as Par containing first order derivative information for<br />

edges or faces. For edges, the dx{m} has the same format as xx{m} above. For faces<br />

dx{m} is a nm1-by-nm2-by-3-by-2 array, where the last dimension refers to the two<br />

vectors, formed by the derivatives of u and v respectively, spanning the tangent<br />

plane.<br />

ddx is a cell array of same size as Par containing second order derivative information<br />

for edges or faces. For edges, ddx{m} has the same format as xx{m}. For faces ddx<br />

is a nm1-by-nm2-by-3-by-2-by-2 array, where the last two dimensions refer to the<br />

2-by-2 matrix of second order derivatives in the parameters u and v.<br />

nor is a cell array of same size as Par, where the contents are the normalized normal<br />

vectors. They are given on the same format as the contents in xx.<br />

ff1 is a cell array of same size as Par containing the first fundamental matrices of<br />

faces, where ff1{m} is an array of size nm1-by-nm2-by-2-by-2. For a parameter point<br />

given by the indices im1 and im2, the first fundamental matrix is given by GG =<br />

reshape(ff1{m}(im1,im2,:,:),2,2) and the corresponding Jacobian is given<br />

by J = reshape(dx{m}(im1,im2,:,:),3,2). It then holds that GG = J'*J.<br />

ff2 is a cell array of same size as Par containing the second fundamental matrices<br />

of faces, where ff2{m} is an array of size nm1-by-nm2-by-2-by-2. For a parameter<br />

point given by the indices im1 and im2, the second fundamental matrix is given by<br />

226 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!