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.

ellipsoid2, ellipsoid3<br />

Purpose<br />

ellipsoid2, ellipsoid3<br />

Construction function for ellipsoid geometry object.<br />

Syntax<br />

Description<br />

obj = ellipsoid3<br />

obj = ellipsoid2<br />

obj = ellipsoid3(a,b,c)<br />

obj = ellipsoid2(a,b,c)<br />

obj = ellipsoid3(a,b,c,...)<br />

obj = ellipsoid2(a,b,c,...)<br />

obj = ellipsoid3 creates a solid ellipsoid geometry object with center at the<br />

origin and semi-axes equal to 1. ellipsoid3 is a subclass of solid3.<br />

obj = ellipsoid3(a,b,c,...) creates a solid ellipsoid object with semi-axes a,<br />

b, and c. a, b, and c are positive real scalars, or strings that evaluate to positive real<br />

scalars, given the evaluation context provided by the property Const.<br />

The functions ellipsoid3/ellipsoid2 accept the following property/values:<br />

TABLE 1-18: VALID PROPERTY/VALUE PAIRS<br />

PROPERTY VALUE DEFAULT DESCRIPTION<br />

Axis<br />

Vector of<br />

reals or cell<br />

array of<br />

strings<br />

[0 0] Local z-axis of the object<br />

Const Cell array of {} Evaluation context for string inputs<br />

strings<br />

Pos<br />

Vector of [0 0] Position of the object<br />

reals or cell<br />

array of<br />

strings<br />

Rot real or string 0 Rotational angle about Axis (radians)<br />

Axis sets the local z-axis, stated either as a directional vector of length 3, or as a<br />

1-by-2 vector of spherical coordinates. Axis is a vector of real scalars, or a cell array<br />

of strings that evaluate to real scalars, given the evaluation context provided by the<br />

property Const. See gencyl3 for more information on Axis.<br />

Pos sets the center of the object. Pos is a vector of real scalars, or a cell array of<br />

strings that evaluate to real scalars, given the evaluation context provided by the<br />

property Const.<br />

Rot is an intrinsic rotational angle for the object about its local z-axis provided by<br />

the property Axis. Rot is a real scalar, or a string that evaluates to a real scalar given<br />

91

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

Saved successfully!

Ooh no, something went wrong!