Psi4
print.h
Go to the documentation of this file.
1 /*
2  * @BEGIN LICENSE
3  *
4  * Psi4: an open-source quantum chemistry software package
5  *
6  * Copyright (c) 2007-2017 The Psi4 Developers.
7  *
8  * The copyrights for code used from other parties are included in
9  * the corresponding files.
10  *
11  * This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation; either version 2 of the License, or
14  * (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License along
22  * with this program; if not, write to the Free Software Foundation, Inc.,
23  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24  *
25  * @END LICENSE
26  */
27 
33 #ifndef _opt_print_h_
34 #define _opt_print_h_
35 
36 #include <cstdlib>
37 #include <cstdio>
38 #include <string>
39 
40 #include "package.h"
41 
42 namespace opt {
43 
44 // Functions to all printing in either psi or qchem.
45 void oprintf(std::string psi_fp, const FILE *qc_fp, const char* format,...);
46 
47 void oprintf_out(const char* format,...);
48 
49 void oprint_matrix(const std::string psi_fp, const FILE *qc_fp, double **A, const int x, const int y);
50 
51 void oprint_matrix_out(double **A, const int x, const int y);
52 
53 void oprint_matrix_out_precise(double **A, const int x, const int y);
54 
55 void oprint_array(const std::string psi_fp, const FILE *qc_fp, double *A, const int x);
56 
57 void oprint_array_out(double *A, const int x);
58 
59 void oprint_array_out_precise(double *A, const int x);
60 
61 void offlush_out(void);
62 
63 }
64 
65 #endif
void oprintf_out(const char *format,...)
Definition: optking/print.cc:69
void oprintf(const std::string psi_fp, const FILE *qc_fp, const char *format,...)
Definition: optking/print.cc:41
void oprint_matrix_out_precise(double **A, const int nrow, const int ncol)
Definition: optking/print.cc:121
void oprint_array_out(double *A, const int ncol)
Definition: optking/print.cc:156
void oprint_matrix(const std::string psi_fp, const FILE *qc_fp, double **A, const int nrow, const int ncol)
Definition: optking/print.cc:83
void oprint_array(const std::string psi_fp, const FILE *qc_fp, double *A, const int ncol)
Definition: optking/print.cc:140
void oprint_matrix_out(double **A, const int nrow, const int ncol)
Definition: optking/print.cc:102
void oprint_array_out_precise(double *A, const int ncol)
Definition: optking/print.cc:172
Definition: PsiFileImpl.h:38
void offlush_out(void)
Definition: optking/print.cc:59