LIBINT
2.9.0
src
bin
libint
strategy.h
1
/*
2
* Copyright (C) 2004-2024 Edward F. Valeev
3
*
4
* This file is part of Libint compiler.
5
*
6
* Libint compiler is free software: you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation, either version 3 of the License, or
9
* (at your option) any later version.
10
*
11
* Libint compiler is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with Libint compiler. If not, see <http://www.gnu.org/licenses/>.
18
*
19
*/
20
21
#include <global_macros.h>
22
#include <graph_registry.h>
23
#include <smart_ptr.h>
24
#include <tactic.h>
25
26
#ifndef _libint2_src_bin_libint_strategy_h_
27
#define _libint2_src_bin_libint_strategy_h_
28
29
#define USE_HRR_FOR_TiG12 1
30
31
namespace
libint2
{
32
33
class
DGVertex;
34
class
DirectedGraph;
35
39
class
Strategy
{
40
public
:
41
typedef
std::shared_ptr<RecurrenceRelation> RR;
42
Strategy
() {}
43
~Strategy
() {}
44
46
RR
optimal_rr
(
const
std::shared_ptr<DirectedGraph>& graph,
47
const
std::shared_ptr<DGVertex>& integral,
48
const
std::shared_ptr<Tactic>& tactic);
49
};
50
51
};
// namespace libint2
52
53
#endif
libint2::Strategy
Strategy specifies how to apply recurrence relations.
Definition
strategy.h:39
libint2::Strategy::optimal_rr
RR optimal_rr(const std::shared_ptr< DirectedGraph > &graph, const std::shared_ptr< DGVertex > &integral, const std::shared_ptr< Tactic > &tactic)
Returns the optimal recurrence relation for integral.
libint2
Defaults definitions for various parameters assumed by Libint.
Definition
algebra.cc:24
Generated by
1.10.0