|
dune-fem 2.12-git
|
Loading...
Searching...
No Matches
petsc.hh
Go to the documentation of this file.
42 static std::pair< Mapper, int > *createObject ( std::pair< GridPartType *, typename Mapper::BaseMapperType * > key, const InterfaceType commif, int sequence )
44 return new std::pair< Mapper, int >( std::piecewise_construct, std::tie( *key.first, *key.second, commif ), std::make_tuple( sequence ) );
51 using MapperProvider = SingletonList< std::pair< GridPartType *, typename Mapper::BaseMapperType * >, std::pair< Mapper, int >, MapperFactory< Mapper > >;
63 ghostMapper_.reset( &GhostMapperProviderType::getObject( std::make_pair( &space_.gridPart(), &space_.blockMapper() ), communicationInterface(), sequence-1 ) );
69 parallelMapper_.reset( &ParallelMapperProviderType::getObject( std::make_pair( &space_.gridPart(), &ghostMapper_->first ), communicationInterface(), sequence-1 ) );
82 ghostMapper_.reset( &GhostMapperProviderType::getObject( std::make_pair( &space_.gridPart(), &space_.blockMapper() ), communicationInterface(), sequence ) );
85 parallelMapper_.reset( &ParallelMapperProviderType::getObject( std::make_pair( &space_.gridPart(), &ghostMapper_->first ), communicationInterface(), sequence ) );
91 const GhostMapperType &ghostMapper () const { assert( ghostMapper_ ); return ghostMapper_->first; }
92 const ParallelMapperType ¶llelMapper () const { assert( parallelMapper_ ); return parallelMapper_->first; }
121 // TODO: For Lagrange spaces the comm interface needs to be InteriorBorder_InteriorBorder_Interface
124 return space().continuous() ? InteriorBorder_InteriorBorder_Interface : space().communicationInterface();
128 static void checkCommunicationInterface( std::pair< Mapper, int > &mapper, const InterfaceType commInterface )
137 static void update ( std::pair< Mapper, int > &mapper, int sequence, const InterfaceType commInterface )
148 std::unique_ptr< std::pair< GhostMapperType, int >, typename GhostMapperProviderType::Deleter > ghostMapper_;
149 std::unique_ptr< std::pair< ParallelMapperType, int >, typename ParallelMapperProviderType::Deleter > parallelMapper_;
Hierarchy< Domain, A >::Iterator update
int size() const
std::ptrdiff_t index() const
#define DUNE_THROW(E,...)
InterfaceType
InteriorBorder_InteriorBorder_Interface
discrete function space
T forward(T... args)
T make_pair(T... args)
T make_tuple(T... args)
T piecewise_construct
T space(T... args)
T tie(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8