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::TetMesh & | tmesh_ |
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_ |
Definition at line 182 of file comet_stems.cpp.
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:
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.
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.
Definition at line 250 of file comet_stems.cpp.
References max_radius_.
double CometGapFinder::get_min_radius | ( | ) | const [inline] |
Minimal radius.
Definition at line 242 of file comet_stems.cpp.
References min_radius_.
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] |
std::vector<double> CometGapFinder::phi_entry_in_ [private] |
std::vector<double> CometGapFinder::phi_entry_out2_ [private] |
std::vector<double> CometGapFinder::phi_entry_out_ [private] |
std::vector<double> CometGapFinder::phi_exit_in2_ [private] |
std::vector<double> CometGapFinder::phi_exit_in_ [private] |
std::vector<double> CometGapFinder::phi_exit_out2_ [private] |
std::vector<double> CometGapFinder::phi_exit_out_ [private] |
std::vector<double> CometGapFinder::rad_entry_in_ [private] |
std::vector<double> CometGapFinder::rad_entry_out_ [private] |
std::vector<double> CometGapFinder::rad_exit_in_ [private] |
std::vector<double> CometGapFinder::rad_exit_out_ [private] |
const mesh::TetMesh& CometGapFinder::tmesh_ [private] |