ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
ScriptInterface::ContextManager manages object creation with policies CreationPolicy. More...
#include "Context.hpp"
#include "Variant.hpp"
#include "core/MpiCallbacks.hpp"
#include <utils/Factory.hpp>
#include <cassert>
#include <memory>
#include <stdexcept>
#include <string>
Go to the source code of this file.
Classes | |
class | ScriptInterface::ContextManager |
Manage object contexts. More... | |
Namespaces | |
namespace | ScriptInterface |
ScriptInterface::ContextManager manages object creation with policies CreationPolicy.
Object creation is delegated to ScriptInterface::GlobalContext and ScriptInterface::LocalContext. ScriptInterface::ContextManager serves as their public interface. If there is only 1 MPI rank, no communication takes place and all objects are created locally via ScriptInterface::LocalContext, including those with policy GLOBAL.
Implementation in ContextManager.cpp.
Definition in file ContextManager.hpp.