1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
#pragma once
#include <core/GlobalEngine.hpp>
namespace yade { // Cannot have #include directive inside.
class BoundaryController : public GlobalEngine {
void action() override
{
{
throw std::runtime_error("BoundaryController must not be used in simulations directly (BoundaryController::action called).");
}
}
// clang-format off
YADE_CLASS_BASE_DOC(BoundaryController,GlobalEngine,"Base for engines controlling boundary conditions of simulations. Not to be used directly.");
// clang-format on
};
REGISTER_SERIALIZABLE(BoundaryController);
} // namespace yade
|