Skip to content
Snippets Groups Projects

Draft: MassMatrix local-assembler for illustration

Closed Simon Praetorius requested to merge feature/mass-matrix-local-assembler into main
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

Closed by Simon PraetoriusSimon Praetorius 10 months ago (May 19, 2024 9:44pm UTC)

Merge details

  • The changes were not merged into .

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
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);
  • 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);
  • 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
    Loading