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.

Straight<br />

Straight<br />

Supported Versions 1<br />

Subtype of<br />

Fields<br />

Manifold<br />

The class is defined by the following fields<br />

ENTITY/<br />

OBJECT<br />

VARIABLE<br />

DESCRIPTION<br />

integer<br />

Version<br />

integer d Space dimension<br />

Transform<br />

Transformation<br />

double[d] root The point from which the ray starts<br />

double[d] dir The direction in which the ray points<br />

double pscale Parameter scale<br />

Description<br />

This manifold defines an infinite straight line in the two or three dimensional space.<br />

It is represented by a point and a unit vector specifying the direction. A straight also<br />

has a scale factor for the parameterization, so the parameter values can be made<br />

invariant under transformation. If not specified the value of this parameter is set to<br />

1.0.<br />

A straight line is an open curve that is not periodic. It is parameterized as:<br />

pos = root + u*pscale*dir<br />

where u is the parameter.<br />

Example<br />

See also<br />

8 Straight # class<br />

0 0 # version<br />

3 # sdim<br />

0 3 1 # transformation<br />

1.3 0.8 0.0 # root point<br />

-1 0 0 # direction<br />

1 # parameter scale<br />

Plane<br />

456 | CHAPTER 3: THE <strong>COMSOL</strong> MULTIPHYSICS FILES

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

Saved successfully!

Ooh no, something went wrong!