Skip to content
Snippets Groups Projects
Commit 7060f374 authored by Robert K's avatar Robert K
Browse files

added velocity method.

parent 62bfd7f7
No related branches found
No related tags found
1 merge request!4Latest features added to dune-fem-dg.
Pipeline #11236 failed
......@@ -216,6 +216,14 @@ def createFemDGSolver(Model, space):
targs=['class Entity, class Point'], static=True,
predefined=predefined)
velocity = getattr(Model,"velocity",None)
generateMethod(struct, velocity,
'DomainType', 'velocity',
args=['const Entity &entity', 'const Point &x',
'const RangeType &u'],
targs=['class Entity, class Point'], static=True,
predefined=predefined)
writer = SourceWriter(StringWriter())
writer.emit([struct])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment