Cbtri

1. Code Name: Cbtri (Electric and magnetic fields from a triangle).
2. The scope: EM effects of conducting passive structures.
3. Developer: Leonid E. Zakharov.
4. Users: LEZ.
5. Description: Calculates electric and magnetic field from a plane triangle with a uniform charge and current density. For rectangular surfaces creates the system of circuit equations based on triangle representation of the surfaces and calculates the surface currents.
6. Language: C/OpenGL/CodeBuilder (Cb).
7. CodeControl: Real time interactive, organized by Cb.
8. Communications:Distributed over sections and organized by Cb (I/O file system, X-Window and OpenGL graphics with .png, .eps output).
9. Postprocessors: Other Cb-codes can read files from I/O database (the structure of records is common). Standard software for movie files.
10. Docs: Online-Help and code maintenance documentation is organized by Cb.
11. Web: N/A
12. Versions: No version control.
13. NumModel: Analytic representation of magnetic field of elementary plane triangle. Variational circuit equations for eddy currents in the shell.
14. OperModel Linear algebra.
15. Reference: N/A.
16. Uniqueness: (a) For the first time, at least for PPPL, the code introduced a universal, non-singular (in comparison with VALLEN code) representation of thin wall circuits. The representation is consistent with disruption studies (wall touching kink mode) and tokamak magnetic diagnostics.
17. Verification: Mesh sizing.
18. Tangible results: (Create a basis for realistic representation of in-vessel components in existing machines (such as LTX)
19. Limitations: Not yet determined.
20. Externals: CodeBuilder.
21. Scalability: N/A
22. Bottlenecks: Not determined yet.
23. Composition: The code is structured as a typical Cb-code.
24. Portability: Not an issue.
25. Performance: Characteristic time is between 1 sec and 1 min.