Help for a "Surface and Flux integrals" program
11-04-2017, 09:50 AM
Post: #12
 AlexFekken Member Posts: 151 Joined: May 2016
RE: Help for a "Surface and Flux integrals" program
Hi Salvo (and Arno),

Nice to see some higher mathematics being implemented: I sincerely appreciate your work, so apologies if this seems like I am doing nothing more than nit-picking.

These are some typos that you might want to fix (and suggestions that you may or may not want to take up) if this is going to be the starting point for documentating your library:

1:
(11-03-2017 05:53 PM)salvomic Wrote:  $\int _\sigma dS = \iint_{A}f(\sigma _1(u,v),\sigma _2(u,v),\sigma _3(u,v))\sqrt{I_1^2+I_2^2+I_3^2}dudv$

The f is missing on the left hand side:

$\int _\sigma f dS = \iint_{A}f(\sigma _1(u,v),\sigma _2(u,v),\sigma _3(u,v))\sqrt{I_1^2+I_2^2+I_3^2}dudv$

And why not allow for vector functions f here as well? I realise that it is less common than a flux integral but the (component-wise) implementation would be trivial. Also, in my opinion, disitnguishing between 'regular' surface integrals and flux integrals more explicitly (e.g. by using a different function, like you did with your line and curvilinear integrals) might be a good thing.

2:
(11-03-2017 05:53 PM)salvomic Wrote:  $\int _\sigma F\cdot \mathbf{n} \, dS = \iint_{\sigma }(f_1(\sigma _1(u, v),\sigma _2(u, v),\sigma _3(u, v))I_1)+f_2(\sigma _1(u, v),\sigma _2(u, v),\sigma _3(u, v))I_2+f_3(\sigma _1(u, v),\sigma _2(u, v),\sigma _3(u, v))I_3) dudv$
Perhaps note that $F = (f_1, f_2, f_3)$ for those less familiar with the maths.

3:
(11-03-2017 05:53 PM)salvomic Wrote:  $(u,v) \in A \supset \mathbb{R}^2$

The inclusion is the wrong way around:
$(u,v) \in A \subset \mathbb{R}^2$

You may also want to mention that A should be a rectangle, at least for the current implementation.

4:
Not really a typo, but for a better connect to the literature as well as the code it might be worth pointing out that $I = (I_1, I_2, I_3)$ is the cross-product of the derivatives of $\sigma = (\sigma_1, \sigma_2, \sigma_3)$ w.r.t. u and v.
 « Next Oldest | Next Newest »

 Messages In This Thread Help for a "Surface and Flux integrals" program - salvomic - 11-03-2017, 05:53 PM RE: Help for a "Surface and Flux integrals" program - Arno K - 11-03-2017, 10:26 PM RE: Help for a "Surface and Flux integrals" program - salvomic - 11-03-2017, 10:57 PM RE: Help for a "Surface and Flux integrals" program - Arno K - 11-03-2017, 11:16 PM RE: Help for a "Surface and Flux integrals" program - salvomic - 11-03-2017, 11:23 PM RE: Help for a "Surface and Flux integrals" program - Arno K - 11-04-2017, 12:06 AM RE: Help for a "Surface and Flux integrals" program - salvomic - 11-04-2017, 07:51 AM RE: Help for a "Surface and Flux integrals" program - Arno K - 11-03-2017, 11:41 PM RE: Help for a "Surface and Flux integrals" program - salvomic - 11-03-2017, 11:49 PM RE: Help for a "Surface and Flux integrals" program - Arno K - 11-03-2017, 11:47 PM RE: Help for a "Surface and Flux integrals" program - salvomic - 11-04-2017, 09:14 AM RE: Help for a "Surface and Flux integrals" program - AlexFekken - 11-04-2017, 10:21 AM RE: Help for a "Surface and Flux integrals" program - salvomic - 11-04-2017, 10:38 AM RE: Help for a "Surface and Flux integrals" program - AlexFekken - 11-04-2017, 10:50 AM RE: Help for a "Surface and Flux integrals" program - AlexFekken - 11-04-2017, 10:54 AM RE: Help for a "Surface and Flux integrals" program - salvomic - 11-04-2017, 11:17 AM RE: Help for a "Surface and Flux integrals" program - AlexFekken - 11-04-2017, 11:24 AM RE: Help for a "Surface and Flux integrals" program - salvomic - 11-04-2017, 11:27 AM RE: Help for a "Surface and Flux integrals" program - AlexFekken - 11-04-2017, 11:34 AM RE: Help for a "Surface and Flux integrals" program - salvomic - 11-04-2017, 11:46 AM RE: Help for a "Surface and Flux integrals" program - AlexFekken - 11-04-2017 09:50 AM RE: Help for a "Surface and Flux integrals" program - salvomic - 11-04-2017, 10:08 AM RE: Help for a "Surface and Flux integrals" program - AlexFekken - 11-04-2017, 10:40 AM RE: Help for a "Surface and Flux integrals" program - salvomic - 11-04-2017, 10:44 AM RE: Help for a "Surface and Flux integrals" program - Arno K - 11-04-2017, 10:56 AM RE: Help for a "Surface and Flux integrals" program - AlexFekken - 11-04-2017, 11:04 AM RE: Help for a "Surface and Flux integrals" program - Arno K - 11-04-2017, 11:08 AM RE: Help for a "Surface and Flux integrals" program - AlexFekken - 11-04-2017, 11:21 AM RE: Help for a "Surface and Flux integrals" program - salvomic - 11-04-2017, 11:24 AM RE: Help for a "Surface and Flux integrals" program - Arno K - 11-04-2017, 11:39 AM RE: Help for a "Surface and Flux integrals" program - salvomic - 11-04-2017, 11:47 AM RE: Help for a "Surface and Flux integrals" program - salvomic - 11-06-2017, 04:37 PM RE: Help for a "Surface and Flux integrals" program - Arno K - 11-06-2017, 05:56 PM RE: Help for a "Surface and Flux integrals" program - salvomic - 11-06-2017, 06:06 PM RE: Help for a "Surface and Flux integrals" program - Arno K - 11-06-2017, 06:25 PM RE: Help for a "Surface and Flux integrals" program - salvomic - 11-06-2017, 06:32 PM RE: Help for a "Surface and Flux integrals" program - Arno K - 11-06-2017, 06:37 PM RE: Help for a "Surface and Flux integrals" program - salvomic - 11-06-2017, 06:49 PM RE: Help for a "Surface and Flux integrals" program - Arno K - 11-06-2017, 08:57 PM RE: Help for a "Surface and Flux integrals" program - salvomic - 11-06-2017, 09:13 PM RE: Help for a "Surface and Flux integrals" program - Arno K - 11-06-2017, 06:57 PM RE: Help for a "Surface and Flux integrals" program - parisse - 11-06-2017, 07:43 PM RE: Help for a "Surface and Flux integrals" program - Arno K - 11-06-2017, 08:44 PM RE: Help for a "Surface and Flux integrals" program - parisse - 11-07-2017, 07:13 AM RE: Help for a "Surface and Flux integrals" program - salvomic - 11-07-2017, 08:32 AM RE: Help for a "Surface and Flux integrals" program - Arno K - 12-02-2017, 05:02 PM RE: Help for a "Surface and Flux integrals" program - salvomic - 12-02-2017, 05:04 PM RE: Help for a "Surface and Flux integrals" program - Arno K - 12-02-2017, 05:23 PM RE: Help for a "Surface and Flux integrals" program - salvomic - 12-02-2017, 05:38 PM

User(s) browsing this thread: 1 Guest(s)