CometGapFinder Class Reference

Collaboration diagram for CometGapFinder:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CometGapFinder (std::string mesh_type, const mesh::TetMesh &tmesh)
double get_min_radius () const
double get_max_radius () const
void get_gap (int gap_id, double radius, double &phi_entry, double &phi_exit)

Private Attributes

const mesh::TetMeshtmesh_
double min_radius_
double max_radius_
std::vector< double > rad_entry_in_
std::vector< double > rad_entry_out_
std::vector< double > phi_entry_in_
std::vector< double > phi_entry_out_
std::vector< double > phi_entry_in2_
std::vector< double > phi_entry_out2_
std::vector< double > rad_exit_in_
std::vector< double > rad_exit_out_
std::vector< double > phi_exit_in_
std::vector< double > phi_exit_out_
std::vector< double > phi_exit_in2_
std::vector< double > phi_exit_out2_

Detailed Description

Class for locating the eight gaps in the RF structure of COMET cyclotron.

Definition at line 182 of file comet_stems.cpp.


Constructor & Destructor Documentation

CometGapFinder::CometGapFinder ( std::string  mesh_type,
const mesh::TetMesh tmesh 
) [inline]

Definition at line 184 of file comet_stems.cpp.

References max_radius_, min_radius_, phi_entry_in2_, phi_entry_in_, phi_entry_out2_, phi_entry_out_, phi_exit_in2_, phi_exit_in_, phi_exit_out2_, phi_exit_out_, rad_entry_in_, rad_entry_out_, rad_exit_in_, rad_exit_out_, rExit, and NR::spline().

Here is the call graph for this function:


Member Function Documentation

void CometGapFinder::get_gap ( int  gap_id,
double  radius,
double &  phi_entry,
double &  phi_exit 
) [inline]

Calculate gap location. Compute entry and exit angles at given radius for gap gap_id. Gaps are numbered as follows: Even numbered gaps are located at the entry of a wing, while odd-numbered gaps are located at the exit of a wing. Gaps 2*i and 2*i+1 are associated with wing i.

Parameters:
gap_id Gap number 0..7.
radius Radius at which the gap is located.
phi_entry Computed entry angle.
phi_exit Computed exit angle.

Definition at line 265 of file comet_stems.cpp.

References mesh::TetMesh::find_boundary(), mesh::TetMesh::is_inside(), max_radius_, min_radius_, phi_entry_in2_, phi_entry_in_, phi_entry_out2_, phi_entry_out_, phi_exit_in2_, phi_exit_in_, phi_exit_out2_, phi_exit_out_, pi, rad_entry_in_, rad_entry_out_, rad_exit_in_, rad_exit_out_, NR::splint(), and tmesh_.

Here is the call graph for this function:

double CometGapFinder::get_max_radius (  )  const [inline]

Maximal radius.

Returns:
Maximal radius for which gaps can be located.

Definition at line 250 of file comet_stems.cpp.

References max_radius_.

double CometGapFinder::get_min_radius (  )  const [inline]

Minimal radius.

Returns:
Minimal radius for which gaps can be located.

Definition at line 242 of file comet_stems.cpp.

References min_radius_.


Member Data Documentation

double CometGapFinder::max_radius_ [private]

Definition at line 312 of file comet_stems.cpp.

Referenced by CometGapFinder(), get_gap(), and get_max_radius().

double CometGapFinder::min_radius_ [private]

Definition at line 311 of file comet_stems.cpp.

Referenced by CometGapFinder(), get_gap(), and get_min_radius().

std::vector<double> CometGapFinder::phi_entry_in2_ [private]

Definition at line 313 of file comet_stems.cpp.

Referenced by CometGapFinder(), and get_gap().

std::vector<double> CometGapFinder::phi_entry_in_ [private]

Definition at line 313 of file comet_stems.cpp.

Referenced by CometGapFinder(), and get_gap().

std::vector<double> CometGapFinder::phi_entry_out2_ [private]

Definition at line 313 of file comet_stems.cpp.

Referenced by CometGapFinder(), and get_gap().

std::vector<double> CometGapFinder::phi_entry_out_ [private]

Definition at line 313 of file comet_stems.cpp.

Referenced by CometGapFinder(), and get_gap().

std::vector<double> CometGapFinder::phi_exit_in2_ [private]

Definition at line 314 of file comet_stems.cpp.

Referenced by CometGapFinder(), and get_gap().

std::vector<double> CometGapFinder::phi_exit_in_ [private]

Definition at line 314 of file comet_stems.cpp.

Referenced by CometGapFinder(), and get_gap().

std::vector<double> CometGapFinder::phi_exit_out2_ [private]

Definition at line 314 of file comet_stems.cpp.

Referenced by CometGapFinder(), and get_gap().

std::vector<double> CometGapFinder::phi_exit_out_ [private]

Definition at line 314 of file comet_stems.cpp.

Referenced by CometGapFinder(), and get_gap().

std::vector<double> CometGapFinder::rad_entry_in_ [private]

Definition at line 313 of file comet_stems.cpp.

Referenced by CometGapFinder(), and get_gap().

std::vector<double> CometGapFinder::rad_entry_out_ [private]

Definition at line 313 of file comet_stems.cpp.

Referenced by CometGapFinder(), and get_gap().

std::vector<double> CometGapFinder::rad_exit_in_ [private]

Definition at line 314 of file comet_stems.cpp.

Referenced by CometGapFinder(), and get_gap().

std::vector<double> CometGapFinder::rad_exit_out_ [private]

Definition at line 314 of file comet_stems.cpp.

Referenced by CometGapFinder(), and get_gap().

const mesh::TetMesh& CometGapFinder::tmesh_ [private]

Definition at line 310 of file comet_stems.cpp.

Referenced by get_gap().


The documentation for this class was generated from the following file:
Generated on Fri Oct 26 13:35:16 2007 for FEMAXX (Finite Element Maxwell Eigensolver) by  doxygen 1.4.7