MAD-NG Reference Manual
0.9.7
Part I:
LANGUAGE
Part II:
COMMANDS
Part III:
PHYSICS
Part IV:
MODULES
Part V:
PROGRAMMING
MAD-NG Reference Manual
Welcome to MAD-NG’s Reference Manual!
View page source
Next
Welcome to MAD-NG’s Reference Manual!
Part I:
LANGUAGE
Introduction
Presentation
Installation
Interactive Mode
Batch Mode
Online Help
Scripting
Lua and LuaJIT
Lua primer
Extensions
Types
Concepts
Ecosystem
Objects
Creation
Inheritance
Attributes
Methods
Metamethods
Flags
Environments
Beams
Attributes
Methods
Metamethods
Particles database
Particle charges
Examples
Beta0 Blocks
Attributes
Methods
Metamethods
Examples
Elements
Taxonomy
Attributes
Methods
Metamethods
Elements
Flags
Fringe fields
Sub-elements
Aperture
Misalignment
Sequences
Attributes
Methods
Metamethods
Sequences creation
Element positions
Element selections
Indexes, names and counts
Iterators and ranges
Examples
MTables
Attributes
Methods
Metamethods
MTables creation
Rows selections
Indexes, names and counts
Iterators and ranges
Examples
MADX
Environment
Importing Sequences
Converting Scripts
Converting Macros
Python
Preqrequisites
Communication Protocol
Receiving Variables
Sending Variables
Error Handling
Executing Python Code Sent from MAD
Part II:
COMMANDS
Survey
Command synopsis
Survey mtable
Geometrical tracking
Examples
Track
Command synopsis
Track mtable
Dynamical tracking
Examples
Cofind
Command synopsis
Cofind mtable
Examples
Twiss
Command synopsis
Twiss mtable
Tracking linear normal form
Examples
Match
Command synopsis
Environment
Command
Variables
Constraints
Objective
Algorithms
Console output
Modules
Examples
Correct
Command synopsis
Correct mtable
Examples
Emit
Plot
Command synopsis
Part III:
PHYSICS
Introduction
Local reference system
Global reference system
Geometric Maps
Dynamic Maps
Integrators
Orbit
Closed Orbit
Optics
Normal Forms
Misalignments
Aperture
Radiation
Part IV:
MODULES
Types
Typeids
Concepts
C Type Sizes
C API
Constants
Numerical Constants
Mathematical Constants
Physical Constants
Functions
Mathematical Functions
Operators as Functions
Bitwise Functions
Special Functions
C API
References
Functors
Constructors
Functions
Monomials
Constructors
Attributes
Functions
Methods
Operators
Iterators
C API
Numerical Ranges
Constructors
Attributes
Functions
Methods
Operators
Iterators
Random Numbers
Contructors
Functions
Methods
Iterators
C API
References
Complex Numbers
Types promotion
Constructors
Attributes
Functions
Methods
Operators
C API
References
Linear Algebra
Types promotion
Constructors
Attributes
Functions
Methods
Operators
Iterators
C API
References
Differential Algebra
Introduction
Types promotion
Constructors
Attributes
Functions
Methods
Operators
Iterators
C API
F API
References
Differential Maps
Introduction
Constructors
Functions
Methods
Operators
Iterators
C API
Miscellaneous Functions
Files Functions
Formating Functions
Strings Functions
Tables Functions
Iterable Functions
Mappable Functions
Conversion Functions
Generic Functions
Special Functions
Generic Physics
External modules
Part V:
PROGRAMMING
MAD environment
Tests
Adding Tests
Elements
Adding Elements
Commands
Adding Commands
Modules
Adding Modules
Embedding Modules
Using C FFI
Indices and tables
Index
Module Index
Search Page