MCPcopy Create free account
hub / github.com/NGSolve/ngsolve / AddFieldLines

Function AddFieldLines

python/webgui.py:554–563  ·  view source on GitHub ↗
(data: dict, add_data: dict)

Source from the content-addressed store, hash-verified

552 return d
553
554def AddFieldLines(data: dict, add_data: dict):
555 if "num_points" not in data:
556 data["num_points"] = [len(data["value"])]
557
558 data["num_points"].append(len(add_data["value"]))
559 data["pstart"] += add_data["pstart"]
560 data["pend"] += add_data["pend"]
561 data["value"] += add_data["value"]
562
563 return data
564
565def FieldLines(
566 function: ngs.CoefficientFunction,

Callers 1

FieldLinesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected