Public Member Functions | Protected Attributes | List of all members
libMesh::DirectSolutionTransfer Class Reference

Implementation of a SolutionTransfer object that only works for transferring the solution but only in the case of: More...

#include <direct_solution_transfer.h>

Inheritance diagram for libMesh::DirectSolutionTransfer:

Public Member Functions

 DirectSolutionTransfer (const Parallel::Communicator &comm_in)
virtual ~DirectSolutionTransfer ()
virtual void transfer (const Variable &from_var, const Variable &to_var) override
 Transfer the values of a variable to another. More...
const Parallel::Communicatorcomm () const
processor_id_type n_processors () const
processor_id_type processor_id () const

Protected Attributes

const Parallel::Communicator_communicator

Detailed Description

Implementation of a SolutionTransfer object that only works for transferring the solution but only in the case of:

  1. The Systems must have EXACTLY the same mesh.
  2. The two variables involved must have EXACTLY the same finite element family and order.
Derek Gaston
2013 Implements solution transfers for matched variable/mesh case.

Definition at line 42 of file direct_solution_transfer.h.

Constructor & Destructor Documentation

◆ DirectSolutionTransfer()

libMesh::DirectSolutionTransfer::DirectSolutionTransfer ( const Parallel::Communicator comm_in)

◆ ~DirectSolutionTransfer()

virtual libMesh::DirectSolutionTransfer::~DirectSolutionTransfer ( )

Member Function Documentation

◆ comm()

const Parallel::Communicator& libMesh::ParallelObject::comm ( ) const

◆ n_processors()

processor_id_type libMesh::ParallelObject::n_processors ( ) const
The number of processors in the group.

Definition at line 95 of file parallel_object.h.

References libMesh::ParallelObject::_communicator, and libMesh::Parallel::Communicator::size().

Referenced by libMesh::MeshBase::partition().

96  { return cast_int<processor_id_type>(_communicator.size()); }
processor_id_type size() const
Definition: communicator.h:175
const Parallel::Communicator & _communicator

◆ processor_id()

processor_id_type libMesh::ParallelObject::processor_id ( ) const

◆ transfer()

virtual void libMesh::DirectSolutionTransfer::transfer ( const Variable from_var,
const Variable to_var 

Transfer the values of a variable to another.

Implements libMesh::SolutionTransfer.

Member Data Documentation

◆ _communicator

const Parallel::Communicator& libMesh::ParallelObject::_communicator

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