MPQC 3.0.0-alpha
Loading...
Searching...
No Matches
psiinput.timpl.h
1#ifndef _chemistry_qc_psi_input_timpl_h
2#define _chemistry_qc_psi_input_timpl_h
3
4#include<chemistry/qc/psi/psiinput.h>
5
6template <typename T>
7void
8sc::PsiInput::write_keyword_array(const char *keyword, const std::vector<T>& values)
9{
10 if (!can_run_on_me()) return;
11 write_indent();
12 file_ << scprintf("%s = (", keyword);
13 file_ << std::setw(24) << std::setprecision(12);
14 const size_t size = values.size();
15 for (int i=0; i<size; i++) {
16 file_ << values[i] << " ";
17 }
18 file_ << ")" << std::endl;
19}
20
21#endif /* header guard */

Generated at Wed Sep 25 2024 02:45:30 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.12.0.