#include <iostream>#include <fstream>#include <cstdlib>#include "mcnpmit.hpp"#include "moab/CartVect.hpp"#include <cmath>
Include dependency graph for mcnpmit.cpp:Go to the source code of this file.
Functions | |
| moab::Interface * | mb_instance () |
| MCNPError | next_number (std::string, double &, int &) |
| int | how_many_numbers (std::string) |
| MCNPError | read_numbers (std::string, int, std::vector< double > &) |
Variables | |
| const double | c2pi = 0.1591549430918954 |
| int how_many_numbers | ( | std::string | s | ) |
Definition at line 391 of file mcnpmit.cpp.
References DONE, MCNP_SUCCESS, and next_number().
Referenced by McnpData::read_mcnpfile().
| moab::Interface* mb_instance | ( | ) |
| MCNPError next_number | ( | std::string | s, |
| double & | d, | ||
| int & | p | ||
| ) |
Definition at line 365 of file mcnpmit.cpp.
References DONE, and MCNP_SUCCESS.
Referenced by McnpData::extract_tally_data(), how_many_numbers(), read_numbers(), and McnpData::read_rotation_matrix().
| MCNPError read_numbers | ( | std::string | s, |
| int | n, | ||
| std::vector< double > & | x | ||
| ) |
Definition at line 408 of file mcnpmit.cpp.
References MCNP_FAILURE, MCNP_SUCCESS, and next_number().
Referenced by McnpData::read_mcnpfile().
| const double c2pi = 0.1591549430918954 |
Definition at line 12 of file mcnpmit.cpp.
Referenced by McnpData::transform_point().