MPQC 3.0.0-alpha
Loading...
Searching...
No Matches
blockinfodef.h
1
2/*
3 * Copyright 2009 Sandia Corporation. Under the terms of Contract
4 * DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government
5 * retains certain rights in this software.
6 *
7 * This file is a part of the MPQC LMP2 library.
8 *
9 * The MPQC LMP2 library is free software: you can redistribute it
10 * and/or modify it under the terms of the GNU Lesser General Public
11 * License as published by the Free Software Foundation, either
12 * version 3 of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.
18 *
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this program. If not, see
21 * <http://www.gnu.org/licenses/>.
22 *
23 */
24
25#ifndef _chemistry_qc_lmp2_blockinfodef_h
26#define _chemistry_qc_lmp2_blockinfodef_h
27
28namespace sc {
29
30namespace sma2 {
31 template <int N>
32 inline void
33 BlockInfo<N>::print(std::ostream &o) const
34 {
35 o << "{";
36 for (int i=0; i<N; i++) {
37 if (i!=0) o << " ";
38 o << block(i);
39 }
40 o << "}";
41 }
42}
43
44}
45
46#endif
Contains all MPQC code up to version 3.
Definition mpqcin.h:14

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