Loading...
Searching...
No Matches
Potential.h File Reference
#include "EonLogger.h"
#include "Eigen.h"
#include "PotRegistry.h"
#include <atomic>
#include <memory>
#include <span>
#include <stdexcept>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

class  eonc::PotentialConstructionScope
 RAII: Potential default construction records on this registry instead of PotRegistry::get(). More...
class  eonc::Potential

Namespaces

namespace  eonc
 RAII resource manager for the ARTn C library with global synchronization.
namespace  eonc::helpers

Functions

std::unique_ptr< Potential > eonc::helpers::makePotential (const Parameters &params)
 Exclusive ownership.
std::unique_ptr< Potential > eonc::helpers::makePotential (PotType ptype, const Parameters &params)
std::unique_ptr< Potential > eonc::helpers::makePotential (PotType ptype, const Parameters &params, Runtime &runtime)
std::shared_ptr< Potential > eonc::helpers::sharePotential (std::unique_ptr< Potential > pot)
 Multi-owner boundary: one instance observed by several Matters, images, or a binding.
std::shared_ptr< Potential > eonc::helpers::makeImagePotential (const Potential &pot, const Parameters &params)
 A separate instance of pot for one image of a band, dimer or pair of minimizations: a clone when the backend can clone, else a new instance built from params.