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 file is part of Psi4.
12  *
13  * Psi4 is free software; you can redistribute it and/or modify
14  * it under the terms of the GNU Lesser General Public License as published by
15  * the Free Software Foundation, version 3.
16  *
17  * Psi4 is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU Lesser General Public License for more details.
21  *
22  * You should have received a copy of the GNU Lesser General Public License along
23  * with Psi4; if not, write to the Free Software Foundation, Inc.,
24  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25  *
26  * @END LICENSE
27  */
28 
34 #ifndef _opt_print_h_
35 #define _opt_print_h_
36 
37 #include <cstdlib>
38 #include <cstdio>
39 #include <string>
40 
41 #include "package.h"
42 
43 namespace opt {
44 
45 // Functions to all printing in either psi or qchem.
46 void oprintf(std::string psi_fp, const FILE *qc_fp, const char* format,...);
47 
48 void oprintf_out(const char* format,...);
49 
50 void oprint_matrix(const std::string psi_fp, const FILE *qc_fp, double **A, const int x, const int y);
51 
52 void oprint_matrix_out(double **A, const int x, const int y);
53 
54 void oprint_matrix_out_precise(double **A, const int x, const int y);
55 
56 void oprint_array(const std::string psi_fp, const FILE *qc_fp, double *A, const int x);
57 
58 void oprint_array_out(double *A, const int x);
59 
60 void oprint_array_out_precise(double *A, const int x);
61 
62 void offlush_out(void);
63 
64 }
65 
66 #endif
void oprintf_out(const char *format,...)
Definition: optking/print.cc:70
void oprintf(const std::string psi_fp, const FILE *qc_fp, const char *format,...)
Definition: optking/print.cc:42
void oprint_matrix_out_precise(double **A, const int nrow, const int ncol)
Definition: optking/print.cc:122
void oprint_array_out(double *A, const int ncol)
Definition: optking/print.cc:157
void oprint_matrix(const std::string psi_fp, const FILE *qc_fp, double **A, const int nrow, const int ncol)
Definition: optking/print.cc:84
void oprint_array(const std::string psi_fp, const FILE *qc_fp, double *A, const int ncol)
Definition: optking/print.cc:141
void oprint_matrix_out(double **A, const int nrow, const int ncol)
Definition: optking/print.cc:103
void oprint_array_out_precise(double *A, const int ncol)
Definition: optking/print.cc:173
Definition: PsiFileImpl.h:39
void offlush_out(void)
Definition: optking/print.cc:60