Draft: MassMatrix local-assembler for illustration
3 unresolved threads
3 unresolved threads
This draft is to test the local-assembler interface discussed in !1 (merged) for a concrete local-assembler example.
Merge request reports
Activity
added 1 commit
- cc24115c - Add LocalBasisTreeCache for cached assembling
added 1 commit
- 41883994 - Fix some documentation and method names in the cache
- dune/assembler/massassembler2.hh 0 → 100644
30 31 /** 32 * \param trial The local-view of the trial-function space (not yet bound to any element) 33 * \note The local-view of the trial-space might be identical to the local-view of the test-space 34 */ 35 void bindTrialLocalView (TrialLocalView& trial) 36 { 37 trial_ = &trial; 38 } 39 40 /** 41 * \param element The grid-element this local-assembler needs to be bound to 42 */ 43 void bindElement (const Element& element) 44 { 45 test_->bind(element); - dune/assembler/massassembler1.hh 0 → 100644
29 30 /** 31 * \param trial The local-view of the trial-function space (not yet bound to any element) 32 * \note The local-view of the trial-space might be identical to the local-view of the test-space 33 */ 34 void bindTrialLocalView (TrialLocalView& trial) 35 { 36 trial_ = &trial; 37 } 38 39 /** 40 * \param element The grid-element this local-assembler needs to be bound to 41 */ 42 void bindElement (const Element& element) 43 { 44 test_->bind(element); - dune/assembler/massassembler2.hh 0 → 100644
31 /** 32 * \param trial The local-view of the trial-function space (not yet bound to any element) 33 * \note The local-view of the trial-space might be identical to the local-view of the test-space 34 */ 35 void bindTrialLocalView (TrialLocalView& trial) 36 { 37 trial_ = &trial; 38 } 39 40 /** 41 * \param element The grid-element this local-assembler needs to be bound to 42 */ 43 void bindElement (const Element& element) 44 { 45 test_->bind(element); 46 testCache_.emplace(makeLocalBasisTreeCache(test_->tree()));
Please register or sign in to reply