Elliptic integral of the third order for magnet calculus

Click For Summary

Discussion Overview

The discussion revolves around the need for the third order elliptic integral for use in a magnetic simulator, specifically in the context of coding in C++. Participants are exploring options for obtaining this integral, including existing libraries and potential workarounds.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant expresses the need for the third order elliptic integral for a magnetic simulator and requests code for it in C++.
  • Another participant points out that the third order elliptic integral is available in the C++ Boost libraries.
  • A participant acknowledges the existence of the integral in C++17 but mentions limitations due to using an older version of Visual Studio (VS2015) on a corporate computer.
  • One participant suggests that since Boost is open source, it is possible to download the source code and build a custom function without installing the entire library.
  • A later reply indicates that the participant attempted to find the function but encountered difficulties due to its complexity and ultimately decided to install Boost version 1.66 to access the integrals of the first, second, and third kinds.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best approach to obtain the third order elliptic integral, with multiple competing views on whether to use Boost or attempt to build a custom solution.

Contextual Notes

Limitations include the dependency on specific versions of Visual Studio and the complexity of accessing the desired function within the Boost library.

Javier Lopez
Messages
74
Reaction score
3
I have the first and second orders that I use in a magnetic simulator, but i need the thirth also to do also with magnetic cylinders accordingly paper:
Do anybody have it in any code? I should pass to C++
 
Physics news on Phys.org
Yes, I know that and also exists in C++17 without installing boost but unfortunately I have a "corporate computer" with old VS2015.
I have the C++ version of the first and second kind, so I want the 3th also, but if taht is not possible I will have to install boost
 
It's open source. If you don't want to install the whole boost library, you could just download the source code and build your own function.
 
I tried but I do not found the fuction because is hidden after some calling systems and uses its own functions, so I installed boost 1.66 (using VS14 x64 binaries) and run the 1,2 & 3 kind integrals.
 

Similar threads

  • · Replies 0 ·
Replies
0
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 42 ·
2
Replies
42
Views
4K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 19 ·
Replies
19
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K