FEM: code formating, print function

This commit is contained in:
Bernd Hahnebach
2018-11-20 23:25:48 +01:00
committed by Yorik van Havre
parent d150dec132
commit 72db8632ab
6 changed files with 21 additions and 22 deletions

View File

@@ -26,12 +26,12 @@ __url__ = "http://www.freecadweb.org"
## @package Fenics
# \ingroup FEM
from __future__ import print_function
import FreeCAD
try:
import fenics
except:
print("No Fenics modules found, please install them.")
FreeCAD.Console.PrintError("No Fenics modules found, please install them.")
else:
import numpy as np