20#ifndef DTKSOLUTIONTRANSFER_H
21#define DTKSOLUTIONTRANSFER_H
23#include "libmesh/libmesh_config.h"
25#ifdef LIBMESH_TRILINOS_HAVE_DTK
28#include "libmesh/solution_transfer.h"
29#include "libmesh/dtk_adapter.h"
31#include "libmesh/ignore_warnings.h"
34#include <Teuchos_CommHelpers.hpp>
35#include <Teuchos_DefaultComm.hpp>
38#include <DTK_SharedDomainMap.hpp>
40#include "libmesh/restore_warnings.h"
77 typedef DataTransferKit::SharedDomainMap<DTKAdapter::MeshContainerType,DTKAdapter::MeshContainerType>
shared_domain_map_type;
83 std::map<EquationSystems *, std::unique_ptr<DTKAdapter>>
adapters;
86 std::map<std::pair<EquationSystems *, EquationSystems *>, std::unique_ptr<shared_domain_map_type>>
dtk_maps;
Implementation of a SolutionTransfer object that uses the DataTransferKit (https://github....
std::map< std::pair< EquationSystems *, EquationSystems * >, std::unique_ptr< shared_domain_map_type > > dtk_maps
The dtk shared domain maps for pairs of EquationSystems (from, to)
std::map< EquationSystems *, std::unique_ptr< DTKAdapter > > adapters
The DTKAdapter associated with each EquationSystems.
Teuchos::RCP< const Teuchos::Comm< int > > comm_default
COMM_WORLD for now.
virtual ~DTKSolutionTransfer()
DataTransferKit::SharedDomainMap< DTKAdapter::MeshContainerType, DTKAdapter::MeshContainerType > shared_domain_map_type
virtual void transfer(const Variable &from_var, const Variable &to_var) override
Transfer the values of a variable to another.
const Parallel::Communicator & comm() const
Base class for objects that allow transferring variable values between different systems with differe...
This class defines the notion of a variable in the system.
The libMesh namespace provides an interface to certain functionality in the library.