Skip to content

Commit 1697549

Browse files
committed
comment out unused code
1 parent 7c20b88 commit 1697549

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

LoopStructural/interpolators/_finite_difference_interpolator.py

+16-16
Original file line numberDiff line numberDiff line change
@@ -456,26 +456,26 @@ def add_gradient_orthogonal_constraints(
456456

457457

458458

459-
def assemble_borders(self, operator, w, name='regularisation'):
460-
"""
461-
Adds a constraint to the border of the model to force the value to be equal to the value at the border
459+
# def assemble_borders(self, operator, w, name='regularisation'):
460+
# """
461+
# Adds a constraint to the border of the model to force the value to be equal to the value at the border
462462

463-
Parameters
464-
----------
465-
operator : Operator
466-
operator to use for the regularisation
467-
w : double
468-
weight of the regularisation
463+
# Parameters
464+
# ----------
465+
# operator : Operator
466+
# operator to use for the regularisation
467+
# w : double
468+
# weight of the regularisation
469469

470-
Returns
471-
-------
470+
# Returns
471+
# -------
472472

473-
"""
474-
# First get the global indicies of the pairs of neighbours this should be an
475-
# Nx27 array for 3d and an Nx9 array for 2d
473+
# """
474+
# # First get the global indicies of the pairs of neighbours this should be an
475+
# # Nx27 array for 3d and an Nx9 array for 2d
476+
477+
# global_indexes = self.support.neighbour_global_indexes()
476478

477-
global_indexes = self.support.neighbour_global_indexes()
478-
479479

480480
def assemble_inner(self, operator, w, name='regularisation'):
481481
"""

0 commit comments

Comments
 (0)