![]() |
Dune-Fufem 2.11-git
|
Loading...
Searching...
No Matches
transferoperatorassembler.hh
Go to the documentation of this file.
86 const Dune::LocalKey& localKey = localView.tree().finiteElement().localCoefficients().localKey(i);
87 const IdType id = grid.localIdSet().subId(localView.element(), localKey.subEntity(), localKey.codim());
209 std::cout << "FE:" << "localId -> index maps build in " << timer.elapsed() << " seconds." << std::endl;
274 // we need the reference element to get the local position of the subentities corresponding to fine basis functions
293 // evaluate coarse basis functions at the position of the subentity corresponding to the fine basis function
309 std::cout << "FE:" << "Grid traversed for transfer operators in " << timer.elapsed() << " seconds." << std::endl;
341 std::cout << "FE:" << "Transfer " << level << " -> " << level+1 << " is a "<< (*T[level]).N() << " x " << (*T[level]).M() << " matrix." << std::endl;
int id()
const Matrix & getMatrix() const
int maxLevel() const
std::size_t level
int size() const
static TupleAccessTraits< typenameAtType< N, Tuple >::Type >::NonConstType get(Tuple &t)
size_type dim() const
static constexpr size_type M()
std::ptrdiff_t index() const
const IndexSet & indexSet() const
const Grid & grid() const
Grid< dim, dimworld, ct, GridFamily >::LeafGridView leafGridView(const Grid< dim, dimworld, ct, GridFamily > &grid)
Grid< dim, dimworld, ct, GridFamily >::LevelGridView levelGridView(const Grid< dim, dimworld, ct, GridFamily > &grid, int level)
IteratorRange<... > vertices(const GV &gv)
void exportIdx(MatrixType &matrix) const
void add(size_type row, size_type col)
constexpr unsigned int codim() const noexcept
constexpr unsigned int subEntity() const noexcept
void reset() noexcept
double elapsed() const noexcept
auto size(GeometryType type) const
const LevelIndexSet & levelIndexSet(int level) const
int size(int level, int codim) const
int maxLevel() const
const LeafIndexSet & leafIndexSet() const
const LocalIdSet & localIdSet() const
LevelGridView levelGridView(int level) const
Assembler for a hierarchy of multigrid transfer operators.
Definition transferoperatorassembler.hh:105
void assembleMatrixHierarchy(std::vector< Matrix * > &T) const
assemble hierarchy of transfer operators for P1 elements
Definition transferoperatorassembler.hh:189
void assembleOperatorPointerHierarchy(std::vector< TransferOperator * > &T) const
Definition transferoperatorassembler.hh:146
void assembleOperatorHierarchy(std::vector< TransferOperator > &T) const
Definition transferoperatorassembler.hh:114
TransferOperatorAssembler(const GridType &grid)
Definition transferoperatorassembler.hh:108
void assembleDerivedOperatorPointerHierarchy(std::vector< TransferOperator * > &T) const
Definition transferoperatorassembler.hh:128
void assembleMatrixHierarchy(std::vector< std::shared_ptr< Matrix > > &M) const
assemble hierarchy of transfer operators for P1 elements
Definition transferoperatorassembler.hh:168
T emplace_back(T... args)
T endl(T... args)
T forward(T... args)
