Skip to content

Commit

Permalink
FEM: code formating
Browse files Browse the repository at this point in the history
  • Loading branch information
berndhahnebach committed Sep 18, 2019
1 parent a8b1c56 commit 91a1145
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
13 changes: 8 additions & 5 deletions src/Mod/Fem/feminout/convert2TetGen.py
@@ -1,4 +1,5 @@
# ***************************************************************************
# * *
# * Copyright (c) 2010 - Juergen Riegel <juergen.riegel@web.de> *
# * Copyright (c) 2018 - Bernd Hahnebach <bernd@bimstatik.org> *
# * *
Expand All @@ -20,9 +21,14 @@
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *
# * USA *
# * *
# * Juergen Riegel 2002 *
# ***************************************************************************/
# ***************************************************************************

__title__ = "FreeCAD tetgen exporter"
__author__ = "Juergen Riegel"
__url__ = "http://www.freecadweb.org"

## \addtogroup FEM
# @{

# Make mesh of pn junction in TetGen format
import FreeCAD
Expand All @@ -32,9 +38,6 @@
import FreeCADGui
Gui = FreeCADGui # shortcut

## \addtogroup FEM
# @{


def exportMeshToTetGenPoly(meshToExport, filePath, beVerbose=1):
"""Export mesh to TetGen *.poly file format"""
Expand Down
17 changes: 8 additions & 9 deletions src/Mod/Fem/feminout/writeFenicsXDMF.py
Expand Up @@ -19,7 +19,14 @@
# * USA *
# * *
# ***************************************************************************
from __future__ import print_function

__title__ = "FreeCAD Fenics XDMF mesh writer"
__author__ = "Johannes Hartung"
__url__ = "http://www.freecadweb.org"

## @package exportFenicsXDMF
# \ingroup FEM
# \brief FreeCAD Fenics Mesh XDMF writer for FEM workbench

from .importToolsFem import \
get_FemMeshObjectDimension,\
Expand All @@ -31,14 +38,6 @@
import numpy as np


__title__ = "FreeCAD Fenics XDMF mesh writer"
__author__ = "Johannes Hartung"
__url__ = "http://www.freecadweb.org"

## @package exportFenicsXDMF
# \ingroup FEM
# \brief FreeCAD Fenics Mesh XDMF writer for FEM workbench

ENCODING_ASCII = "ASCII"
ENCODING_HDF5 = "HDF5"

Expand Down

0 comments on commit 91a1145

Please sign in to comment.