25#ifndef _libint2_src_bin_libint_codeblock_h_
26#define _libint2_src_bin_libint_codeblock_h_
34 CodeBlock(
const std::shared_ptr<CodeContext>& context) : context_(context) {}
37 std::shared_ptr<CodeContext> context()
const {
return context_; }
40 virtual std::string
open() = 0;
42 virtual std::string
close() = 0;
45 std::shared_ptr<CodeContext> context_;
50 ForLoop(
const std::shared_ptr<CodeContext>& context, std::string& varname,
51 const std::shared_ptr<Entity>& less_than,
52 const std::shared_ptr<Entity>& start_at);
56 std::string
open()
override;
58 std::string
close()
override;
62 std::shared_ptr<Entity> less_than_;
63 std::shared_ptr<Entity> start_at_;
Definition codeblock.h:32
virtual std::string close()=0
Close a code block.
virtual std::string open()=0
Opens a code block.
Definition codeblock.h:48
std::string close() override
Implementation of CodeBlock::close()
Definition codeblock.cc:94
std::string open() override
Implementation of CodeBlock::open()
Definition codeblock.cc:77
Defaults definitions for various parameters assumed by Libint.
Definition algebra.cc:24