Skip to content

Commit

Permalink
Merge branch 'main' of github.com:simbilod/meshwell
Browse files Browse the repository at this point in the history
  • Loading branch information
simbilod committed Dec 8, 2024
2 parents c2fc104 + 8141ecc commit d3b1a3d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
4 changes: 1 addition & 3 deletions meshwell/labeledentity.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ def add_refinement_fields_to_model(
self,
refinement_field_indices: List,
refinement_max_index: int,
default_resolution: float,
all_entities_dict,
boundary_delimiter,
):
Expand Down Expand Up @@ -168,7 +167,7 @@ def add_refinement_fields_to_model(
resolutionspec.target_dimension
)
)
for tag in self.tags:
for tag in tags:
if tag in entities_mass_dict:
entities_mass_dict_sharing[tag] = entities_mass_dict[
tag
Expand Down Expand Up @@ -205,7 +204,6 @@ def add_refinement_fields_to_model(
new_field_indices, n = resolutionspec.apply(
model=self.model,
current_field_index=n,
refinement_field_indices=refinement_field_indices,
entities_mass_dict=entities_mass_dict_sharing,
)
refinement_field_indices.extend(new_field_indices)
Expand Down
1 change: 0 additions & 1 deletion meshwell/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,6 @@ def mesh(
) = entity.add_refinement_fields_to_model(
refinement_field_indices,
refinement_max_index,
default_characteristic_length,
final_entity_dict,
boundary_delimiter,
)
Expand Down
3 changes: 0 additions & 3 deletions meshwell/resolution.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ def apply(
model: Any,
current_field_index: int,
entities_mass_dict,
refinement_field_indices,
) -> int:
new_field_indices = []

Expand Down Expand Up @@ -117,7 +116,6 @@ def apply(
model: Any,
current_field_index: int,
entities_mass_dict,
refinement_field_indices,
) -> int:
new_field_indices = []

Expand Down Expand Up @@ -175,7 +173,6 @@ def apply(
model: Any,
current_field_index: int,
entities_mass_dict,
refinement_field_indices,
) -> int:
new_field_indices = []

Expand Down

0 comments on commit d3b1a3d

Please sign in to comment.