ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
Functions | |
void | tmp_convert () |
template bridge codes for converting string to other types | |
void | Convert () |
Pass the data members from the INPUT instance(defined in source_io/input.cpp) to GlobalV and GlobalC. | |
template<typename T > | |
void | parse_expression (const std::string &fn, std::vector< T > &vec) |
To parse input parameters as expressions into vectors. | |
void Input_Conv::Convert | ( | ) |
void Input_Conv::parse_expression | ( | const std::string & | fn, |
std::vector< T > & | vec | ||
) |
To parse input parameters as expressions into vectors.
T |
fn | (string): expressions such as "3*1 0 2*0.5 3*0" |
vec | (vector): stores parsing results, for example, "3*1 0 2*0.5 1*1.5" can be parsed as [1, 1, 1, 0, 0.5, 0.5, 1.5] |
void Input_Conv::tmp_convert | ( | ) |
template bridge codes for converting string to other types