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.

BSplineMfd<br />

0 ⎧ 1 u<br />

N i ( u)<br />

i<br />

≤ u<<br />

u<br />

= ⎨<br />

i + 1<br />

⎩ 0 otherwise<br />

p u–<br />

u i p – 1 u<br />

N i ( u)<br />

----------------------- i + p + 1<br />

– u p – 1<br />

= N<br />

– i<br />

( u)<br />

+ -------------------------------------- N<br />

– i + 1<br />

( u)<br />

u i + p<br />

u i<br />

A general B-spline can be described by<br />

u i + p + 1<br />

u i + 1<br />

S( uv , )<br />

=<br />

n<br />

∑<br />

m<br />

∑<br />

i = 0 j = 0<br />

n m<br />

∑<br />

∑<br />

i = 0 j = 0<br />

p q<br />

N i ( u)Nj<br />

( v)wi<br />

, j<br />

b i,<br />

j<br />

------------------------------------------------------------------------- , a ≤u≤<br />

b,<br />

c≤<br />

v≤<br />

d<br />

p q<br />

N i ( u)Nj<br />

( v)wi<br />

, j<br />

where<br />

U = { a , … , au , , p + 1<br />

… , u , m – p – 1<br />

b , … , b}<br />

and<br />

V = { c , … , cv , , p + 1<br />

… , v , m – p – 1<br />

d , … , d}<br />

are the two knot vectors stored in the entry, and b and w are the control points<br />

coordinates and weights stored in P.<br />

For periodic splines, the first and last parameter values in the knot vectors are not<br />

duplicated.<br />

438 | 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!