Fix typos.
This commit is contained in:
parent
4bcc575bab
commit
efd2d79af7
|
@ -76,7 +76,7 @@ namespace flow
|
|||
bool verbose();
|
||||
|
||||
/**
|
||||
* Pring help message and exit.
|
||||
* Print help message and exit.
|
||||
*
|
||||
* @return Whether argument is provided.
|
||||
*/
|
||||
|
|
10
src/calc.hpp
10
src/calc.hpp
|
@ -50,7 +50,7 @@ namespace flow
|
|||
/// Resistance (imaginary).
|
||||
double x;
|
||||
|
||||
/// Gounding admittance (imaginary).
|
||||
/// Grounding admittance (imaginary).
|
||||
double b;
|
||||
|
||||
/// Transformer ratio.
|
||||
|
@ -68,7 +68,7 @@ namespace flow
|
|||
}
|
||||
|
||||
/**
|
||||
* Get gounding admittance.
|
||||
* Get grounding admittance.
|
||||
*
|
||||
* @return Grounding admittance (complex).
|
||||
*/
|
||||
|
@ -102,7 +102,7 @@ namespace flow
|
|||
/// Correction vector of voltage.
|
||||
arma::colvec e_, f_;
|
||||
|
||||
/// Imbalace of active/reactive power and voltage.
|
||||
/// Imbalance of active/reactive power and voltage.
|
||||
arma::colvec delta_p_, delta_q_, delta_v_;
|
||||
|
||||
/// Submatrix of Jacobian matrix.
|
||||
|
@ -236,7 +236,7 @@ namespace flow
|
|||
std::pair<arma::dmat, arma::dmat> node_admittance();
|
||||
|
||||
/**
|
||||
* Initialize iteratiob.
|
||||
* Initialize iteration.
|
||||
*/
|
||||
void iterate_init();
|
||||
|
||||
|
@ -253,7 +253,7 @@ namespace flow
|
|||
double get_max() const;
|
||||
|
||||
/**
|
||||
* Get result of calculation
|
||||
* Get result of calculation.
|
||||
*
|
||||
*/
|
||||
arma::dmat result();
|
||||
|
|
|
@ -12,7 +12,7 @@ namespace flow
|
|||
{
|
||||
void executor::execute(int argc, char** argv) const
|
||||
{
|
||||
// Get componenets.
|
||||
// Get components.
|
||||
auto factory = factory::get();
|
||||
auto args = factory->get_args();
|
||||
auto input = factory->get_reader();
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
namespace flow
|
||||
{
|
||||
/// Controls the excution of this program.
|
||||
/// Controls the execution of this program.
|
||||
class executor
|
||||
{
|
||||
public:
|
||||
|
@ -16,6 +16,7 @@ namespace flow
|
|||
* Default constructor.
|
||||
*/
|
||||
explicit executor() = default;
|
||||
|
||||
/// Do execute.
|
||||
void execute(int argc, char** argv) const;
|
||||
};
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#include <Windows.h>
|
||||
#else
|
||||
#include <sys/ioctl.h>
|
||||
#include <unistd.h>
|
||||
#endif // _WIN32
|
||||
#include <iomanip>
|
||||
#include <experimental/filesystem>
|
||||
|
|
Reference in New Issue