Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: volume integration
Replies: 11   Last Post: May 7, 2014 7:25 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Marios Karaoulis

Posts: 89
Registered: 5/10/10
Re: volume integration
Posted: Sep 9, 2011 3:16 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Thanks so much Bruno. You blew my mind.

One last question,

For every node, actually I need to evaluate the integral 4 times.
Using the same notation,
I have

The integration is
triple integral ( (JAJM -JAJN -JBM +JBN))

So, if I change the last part to something like this

JAJM = dot(JA,JM,3);
JAJM = mean(JAJM,2);

JAJN = dot(JA,JN,3);
JAJN = mean(JAJN,2);

JBJM = dot(JB,JM,3);
JBJM = mean(JBJM,2);

JBJN = dot(JB,JN,3);
JBJN = mean(JBJN,2);


jac2 = J_ALL.*abs(D)/6;

it should be alright.

But is possible to write this in the following way


thanks in advance.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.