Text archives Help
- From: Ayla Khan <ayla@sci.utah.edu>
- To: p.johnston@griffith.edu.au
- Cc: scirun-users@sci.utah.edu
- Subject: [SCIRUN-USERS] Re: matrix manipulation question
- Date: Mon, 18 Apr 2011 20:16:39 -0600
Hi Peter,
Ayla On Apr 17, 2011, at 9:57 PM, Peter Johnston wrote:
Hi All,
I am seeking some advice regarding matrix multiplication in
scirun. I have
performed some external simulations of electric fields and am
using scirun
for visualisation. So, what I have is an array of points and the
accompanying
hex definition file to define the mesh, the solution at the node
points and the
anisotropic conductivity at the node points. I have found that I
can read in the
solution and subsequently obtain the gradient of the solution at
the node points.
My question is, can I read in the conductivity matrix and
multiply this by the
array of gradients to obtain the current? The conductivity
matrix is Nx6 (one row
for each of the N node points) and, since the conductivity
matrix is symmetric,
has rows of the form
a11 a12 a13 a22 a23 a33
Hence the current vector at any node should be the matrix-vector
product of this
matrix (expanded to 3x3) at this node and the gradient vector
calculated at the node.
Is such a manipulation possible in scirun?
Thanks for your help,
Peter Johnston.
--
-------------------------------------------------------------------------
Assoc. Prof. Peter Johnston
Associate Professor in Applied Mathematics Phone (07) 3735 7748
School of Biomolecular and Physical Science Fax (07) 3735 7773
Griffith University
Nathan
Queensland 4111
AUSTRALIA
|
Archive powered by MHonArc 2.6.16.