Netgen/NGSolveNetgen/NGSolve
  • Home
  • News
    • New Features
    • 1st NGSolve User Meeting
    • 2nd NGSolve User Meeting
    • 3rd NGSolve User Meeting
    • NGSolve at Hannover Messe 2019
    • 4th NGSolve User Meeting
  • Documentation
    • Documentation
    • i-Tutorials
    • Interactive FEM Course
    • NGSolve Video Tutorials
  • Showcases
    • KH Benchmark
    • Netgen Examples
    • NGSolve Examples
    • Acknowledgements
    • Publications
  • Forum
  • Downloads

New Features

Joachim Schoeberl

Specify IntegrationRule

We can now specify an integration-rule for the SymbolicBFI, it works like this:

ir = IntegrationRule(points = [(0,0), (1,0), (0,1)], weights = [1/6, 1/6, 1/6] )
a += SymbolicBFI (u*v, intrule=ir)

A complete example performing mass lumping is in the attachment.

 

Tags: Integration, Version 6.2
  • Previous article: Exporting mathematical functions Prev
Attachments
lumping.py [341B]
Uploaded Monday, 09 January 2017 by Joachim Schoeberl

Login

Create an account
  • Forgot your username?
  • Forgot your password?
 
NGSolve on Twitter
© 2019 Netgen/NGSolve
  • Home
  • News
    • New Features
    • 1st NGSolve User Meeting
    • 2nd NGSolve User Meeting
    • 3rd NGSolve User Meeting
    • NGSolve at Hannover Messe 2019
    • 4th NGSolve User Meeting
  • Documentation
    • Documentation
    • i-Tutorials
    • Interactive FEM Course
    • NGSolve Video Tutorials
  • Showcases
    • KH Benchmark
    • Netgen Examples
    • NGSolve Examples
    • Acknowledgements
    • Publications
  • Forum
  • Downloads