libMesh
|
Implementation of a SolutionTransfer object that uses the DataTransferKit (https://github.com/CNERG/DataTransferKit) to transfer variables back and forth between systems. More...
#include <dtk_solution_transfer.h>
Public Member Functions | |
DTKSolutionTransfer (const libMesh::Parallel::Communicator &comm) | |
virtual | ~DTKSolutionTransfer () |
virtual void | transfer (const Variable &from_var, const Variable &to_var) override |
Transfer the values of a variable to another. More... | |
const Parallel::Communicator & | comm () const |
processor_id_type | n_processors () const |
processor_id_type | processor_id () const |
Protected Types | |
typedef DataTransferKit::SharedDomainMap< DTKAdapter::MeshContainerType, DTKAdapter::MeshContainerType > | shared_domain_map_type |
Protected Attributes | |
Teuchos::RCP< const Teuchos::Comm< int > > | comm_default |
COMM_WORLD for now. More... | |
std::map< EquationSystems *, DTKAdapter * > | adapters |
The DTKAdapter associated with each EquationSystems. More... | |
std::map< std::pair< EquationSystems *, EquationSystems * >, shared_domain_map_type *> | dtk_maps |
The dtk shared domain maps for pairs of EquationSystems (from, to) More... | |
const Parallel::Communicator & | _communicator |
Implementation of a SolutionTransfer object that uses the DataTransferKit (https://github.com/CNERG/DataTransferKit) to transfer variables back and forth between systems.
Definition at line 54 of file dtk_solution_transfer.h.
|
protected |
Definition at line 74 of file dtk_solution_transfer.h.
libMesh::DTKSolutionTransfer::DTKSolutionTransfer | ( | const libMesh::Parallel::Communicator & | comm | ) |
|
virtual |
|
inherited |
Parallel::Communicator
object used by this mesh. Definition at line 89 of file parallel_object.h.
References libMesh::ParallelObject::_communicator.
Referenced by libMesh::EpetraVector< T >::EpetraVector(), libMesh::Parallel::sync_element_data_by_parent_id(), libMesh::Parallel::sync_node_data_by_element_id(), and libMesh::Parallel::sync_node_data_by_element_id_once().
|
inherited |
Definition at line 95 of file parallel_object.h.
References libMesh::ParallelObject::_communicator, and libMesh::Parallel::Communicator::size().
Referenced by libMesh::MeshBase::partition().
|
inherited |
Definition at line 101 of file parallel_object.h.
References libMesh::ParallelObject::_communicator, and libMesh::Parallel::Communicator::rank().
Referenced by libMesh::DofMap::end_dof(), libMesh::DofMap::end_old_dof(), libMesh::DofMap::first_dof(), libMesh::DofMap::first_old_dof(), libMesh::DofMap::last_dof(), libMesh::MeshBase::n_active_local_elem(), libMesh::DofMap::n_local_dofs(), libMesh::MeshBase::n_local_elem(), libMesh::MeshBase::n_local_nodes(), and libMesh::MeshTools::weight().
|
overridevirtual |
Transfer the values of a variable to another.
This is meant for transferring values from one EquationSystems to another even in the case of having different meshes.
Implements libMesh::SolutionTransfer.
|
protectedinherited |
Definition at line 107 of file parallel_object.h.
Referenced by libMesh::ParallelObject::comm(), libMesh::ParallelObject::n_processors(), libMesh::ParallelObject::operator=(), and libMesh::ParallelObject::processor_id().
|
protected |
The DTKAdapter associated with each EquationSystems.
Definition at line 80 of file dtk_solution_transfer.h.
|
protected |
COMM_WORLD for now.
Definition at line 77 of file dtk_solution_transfer.h.
|
protected |
The dtk shared domain maps for pairs of EquationSystems (from, to)
Definition at line 83 of file dtk_solution_transfer.h.