![]() |
Blitz Support : |
From: Julian Cummings (cummings_at_[hidden])
Date: 2003-10-31 15:44:27
Stencil operations appear primarily in finite difference algorithms used
to solve
partial differential equations numerically. The stencil operator
notation exists
in Blitz to provide a more compact notation for writing expressions
involving
the typical differential operators in finite difference form. A
secondary reason
for using stencil operators is to potentially improve code performance
by allowing
the compiler to recognize when the same array appears multiple times on the
right-hand side of an expression and reuse the array data pointer with
offsets.
I hope this answers your question.
Regards, Julian C.
mctimes wrote:
>After having read the documentation, I don't quite understand what is
>the stencil for? It seems that it's just some functions for some
>specific purposes in numeric analysis.
>_______________________________________________
>Blitz-support mailing list
>Blitz-support_at_[hidden]
>http://www.oonumerics.org/mailman/listinfo.cgi/blitz-support
>
>
-- Dr. Julian C. Cummings E-mail: cummings_at_[hidden] California Institute of Technology Phone: 626-395-2543 1200 E. California Blvd., Mail Code 158-79 Fax: 626-584-5917 Pasadena, CA 91125