[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ff3d-users] Do you have a function that can return cell data with c
Stephane Del Pino
Re: [ff3d-users] Do you have a function that can return cell data with coordinate?
Wed, 18 Feb 2004 19:24:42 +0100
-----BEGIN PGP SIGNED MESSAGE-----
On Tuesday 17 February 2004 20:20, Robert Li wrote:
> Dear Stephane Del Pino,
> I want to extract Tetrahedron cell data information
> according to coordinate(x,y,z).
It is not possible to manipulate a given tetrahedron in the language!
And this will not be possible before a complete rewriting of the language,
which will not happen very soon :-p
> For example,
> 1. First, read a Tetrahedron mesh to ff3d.
> 2. Then, according to the reference value of cell to
> set boundary condition or PDE coefficient.
> 3. Finally, get a dynamic PDE and boundary condition
> according to different soil layer and position.
> Do you have a function that can return cell data with
> coordinate? or any advice?
Yes, I think I have the solution.
You can define functions according to the reference of tetrahedra:
function f = reference (T, 1:g, 2:h, 3:k);
where g, h, and k are functions or doubles. And 1,2,3 are tetrahedra
references of the mesh T.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
-----END PGP SIGNATURE-----