// SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file LICENSE.md in module root // SPDX-License-Identifier: LGPL-2.1-or-later #include "config.h" #include #include namespace DDD { DDDContext::DDDContext( const std::shared_ptr& ppifContext, const std::shared_ptr& data) : ppifContext_(ppifContext) , data_(data) { /* Nothing. */ } int DDDContext::me() const { return ppifContext().me(); } int DDDContext::procs() const { return ppifContext().procs(); } bool DDDContext::isMaster() const { return ppifContext().isMaster(); } } /* namespace DDD */