diff --git a/tracy/tracy/src/nsls-ii_lib.cc b/tracy/tracy/src/nsls-ii_lib.cc index 9a2d52e1df9ec52d50f3dde258957be2dc21f027..4833dfea43c393dc717518e45059ab1809cc6e66 100644 --- a/tracy/tracy/src/nsls-ii_lib.cc +++ b/tracy/tracy/src/nsls-ii_lib.cc @@ -1526,7 +1526,31 @@ void set_dL(const int Fnum, const int Knum, const double dL) // multipole components - +/************************************************************* +void get_bn_design_elem(const int Fnum, const int Knum, + const int n, double &bn, double &an) + + Purpose: + Get the n-th order design value (bn, an) of the element + with family index "Fnum" and the kid number "Knum". + + Input: + Fnum: family index + Knum: kid index + n: n-th design order of the element + bn: bn component of the element + an: an component of the element + + Output: + None + + Return: + bn, an + + Comments: + + 11/2010 comments by jianfeng Zhang +**************************************************************/ void get_bn_design_elem(const int Fnum, const int Knum, const int n, double &bn, double &an) {