Skip to content

Commit

Permalink
isort
Browse files Browse the repository at this point in the history
  • Loading branch information
jhale committed Sep 22, 2022
1 parent f77d771 commit 1501e3c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
5 changes: 2 additions & 3 deletions demo/dolfinx/demo_dolfinx.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@

import dolfinx
import ufl
from dolfinx.fem import (Function, FunctionSpace, assemble_scalar,
dirichletbc, form,
locate_dofs_topological)
from dolfinx.fem import (Function, FunctionSpace, assemble_scalar, dirichletbc,
form, locate_dofs_topological)
from dolfinx.fem.petsc import LinearProblem, assemble_vector
from dolfinx.io import XDMFFile
from dolfinx.mesh import CellType, create_rectangle, locate_entities_boundary
Expand Down
2 changes: 1 addition & 1 deletion demo/fractional_adaptive/demo_fractional-adaptive.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import ufl
from dolfinx.fem import (Constant, Function, FunctionSpace, apply_lifting,
dirichletbc, form, locate_dofs_topological, set_bc)
from dolfinx.fem.petsc import assemble_matrix, assemble_vector, create_vector, create_matrix
from dolfinx.fem.petsc import assemble_matrix, assemble_vector
from dolfinx.io import XDMFFile
from dolfinx.mesh import (CellType, compute_incident_entities,
create_rectangle, locate_entities_boundary)
Expand Down
3 changes: 1 addition & 2 deletions demo/pure_dirichlet/demo_pure-dirichlet.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright 2020, Jack S. Hale
# SPDX-License-Identifier: LGPL-3.0-or-later
import fenicsx_error_estimation
import numpy as np

import dolfinx
Expand All @@ -10,8 +11,6 @@
from dolfinx.mesh import CellType, create_rectangle, locate_entities_boundary
from ufl import avg, div, grad, inner, jump, pi, sin

import fenicsx_error_estimation

from mpi4py import MPI

# Structured mesh
Expand Down
5 changes: 3 additions & 2 deletions demo/three_dimensions/demo_three_dimensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
from fenicsx_error_estimation import create_interpolation, estimate

import ufl
from dolfinx.fem import (Function, FunctionSpace, apply_lifting, assemble_scalar,
dirichletbc, form, locate_dofs_topological, set_bc)
from dolfinx.fem import (Function, FunctionSpace, apply_lifting,
assemble_scalar, dirichletbc, form,
locate_dofs_topological, set_bc)
from dolfinx.fem.petsc import assemble_matrix, assemble_vector
from dolfinx.io import XDMFFile
from dolfinx.mesh import create_unit_cube, locate_entities_boundary
Expand Down

0 comments on commit 1501e3c

Please sign in to comment.