ff3d-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ff3d-users] Specifying Initial Conditions


From: Stephane Del Pino
Subject: Re: [ff3d-users] Specifying Initial Conditions
Date: Fri, 30 Jul 2004 19:04:58 +0200
User-agent: KMail/1.6.2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear Carl.

Yes. Absolutely, ff3d can do this. You just have to use "one" functions. For
instance:

function C1 = g*one(sqrt(x^2+y^2+z^2)<1)+f;

will define a function that is g+f in the unit circle, and f outside (where f
and g are functions or constants).

You can also use POV-Ray like definitions:

function C2 = one(<1,0,0>);

will define a function whose value is 1 inside the objects of color <1,0,0>
and 0 outside.

Best regards,
Stephane.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBCn+6bZyhKhZwdc0RAiyCAJ9NVhRukZlm84RjTBsVihf7IMF1PQCeMrud
Y8CI6mVIAudaFdancOaMVZo=
=/Tib
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]