Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
TRACY3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PA
Optics
TRACY3
Commits
334bc0b9
Commit
334bc0b9
authored
14 years ago
by
zhang
Browse files
Options
Downloads
Patches
Plain Diff
ZJ new file
parent
ba6a36a0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tracy/tracy/inc/soleilcommon.h
+74
-0
74 additions, 0 deletions
tracy/tracy/inc/soleilcommon.h
with
74 additions
and
0 deletions
tracy/tracy/inc/soleilcommon.h
0 → 100644
+
74
−
0
View file @
334bc0b9
/*
Transferred from Tracy 2.7 soleilcommon.h
*/
/***************************************************************************
soleilcommon.h - description
-------------------
begin : Thu Oct 30 2003
copyright : (C) 2003 by nadolski
email : nadolski@synchrotron-soleil.fr
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef __SOLEILCOMMON_H
#define __SOLEILCOMMON_H
#define NTURN 10000
#define DIM 6
/* high level functions for reading lattice file*/
void
Read_Lattice
(
char
*
fic
);
long
get_bpm_number
(
void
);
long
get_hcorr_number
(
void
);
long
get_vcorr_number
(
void
);
long
get_qt_number
(
void
);
/* Vacuum chamber */
// void PrintCh(void); // nsrl-ii: physlib.cc
//void ChamberOn(void); // nsrl-ii: soleillib.cc (same)
//void ChamberOff(void); // nsrl-ii: physlib.cc
/* tracking */
//void GetChromTrac(long Nb, long Nbtour, double emax, double *xix, double *xiz); //nsrl-ii physlib.cc
//void GetTuneTrac(long Nbtour, double emax, double *nux, double *nuz); //nsrl-ii physlib.cc
//nsrl-ii physlib.cc
/* close orbit */
// simple precision
//void findcodS(double dP);
//void computeFandJS(float *x, int n, float **fjac, float *fvect);
//void Newton_RaphsonS(int ntrial,float x[],int n,float tolx);
// double precision
//void findcod(double dP);
//void computeFandJ(int n, double *x, vector *fjac, double *fvect);
//int Newton_Raphson(int n, double x[],int ntrial,double tolx);
/* Transport mode routine */
//void TransTwiss(double *alpha, double *beta, double *eta, double *etap, double *codvect);
// Tracy III: naffutils.h
/* Frequency Map Analysis */
//void Get_NAFF(int nterm, long ndata, double T[DIM][NTURN],
// double *fx, double *fz, int nbf[2]);
//void Get_Tabshift(double Tab[DIM][NTURN], double Tab0[DIM][NTURN], long nbturn, long nshift);
//void Get_freq(double *fx, double *fz, double *nux, double *nuz);
// repeative definition
// //void GetChromTrac(long Nb, long Nbtour, double emax, double *xix, double *xiz);
// //void GetTuneTrac(long Nbtour, double emax, double *nux, double *nuz);
/* Mandatory for f2c */
//void MAIN__(void);
#endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment