libMesh::DTKSolutionTransfer Class Reference

#include <dtk_solution_transfer.h>

Inheritance diagram for libMesh::DTKSolutionTransfer:

List of all members.

Public Member Functions

 DTKSolutionTransfer ()
virtual ~DTKSolutionTransfer ()
virtual void transfer (const Variable &from_var, const Variable &to_var)

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.
std::map< EquationSystems
*, DTKAdapter * > 
adapters
 The DTKAdapter associated with each EquationSystems.
std::map< std::pair
< EquationSystems
*, EquationSystems * >
, shared_domain_map_type * > 
dtk_maps
 The dtk shared domain maps for pairs of EquationSystems (from, to).

Detailed Description

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 44 of file dtk_solution_transfer.h.


Member Typedef Documentation


Constructor & Destructor Documentation

libMesh::DTKSolutionTransfer::DTKSolutionTransfer (  ) 
virtual libMesh::DTKSolutionTransfer::~DTKSolutionTransfer (  )  [virtual]

Member Function Documentation

virtual void libMesh::DTKSolutionTransfer::transfer ( const Variable from_var,
const Variable to_var 
) [virtual]

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.

Note that the first time this function is called for one combination of EquationSystems a lot of setup and caching is done. Subsequent transfers between the same EquationSystems will be _much_ faster.

Implements libMesh::SolutionTransfer.


Member Data Documentation

The DTKAdapter associated with each EquationSystems.

Definition at line 69 of file dtk_solution_transfer.h.

Teuchos::RCP<const Teuchos::Comm<int> > libMesh::DTKSolutionTransfer::comm_default [protected]

COMM_WORLD for now.

Definition at line 66 of file dtk_solution_transfer.h.

The dtk shared domain maps for pairs of EquationSystems (from, to).

Definition at line 72 of file dtk_solution_transfer.h.


The documentation for this class was generated from the following file:

Site Created By: libMesh Developers
Last modified: February 05 2013 19:55:15 UTC

Hosted By:
SourceForge.net Logo