diff --git a/meshwell/labeledentity.py b/meshwell/labeledentity.py index 00e9596..7a9a6f3 100644 --- a/meshwell/labeledentity.py +++ b/meshwell/labeledentity.py @@ -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, ): @@ -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 @@ -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) diff --git a/meshwell/model.py b/meshwell/model.py index 4cb67bc..e509dfd 100644 --- a/meshwell/model.py +++ b/meshwell/model.py @@ -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, ) diff --git a/meshwell/resolution.py b/meshwell/resolution.py index 28a431c..52d4838 100644 --- a/meshwell/resolution.py +++ b/meshwell/resolution.py @@ -54,7 +54,6 @@ def apply( model: Any, current_field_index: int, entities_mass_dict, - refinement_field_indices, ) -> int: new_field_indices = [] @@ -117,7 +116,6 @@ def apply( model: Any, current_field_index: int, entities_mass_dict, - refinement_field_indices, ) -> int: new_field_indices = [] @@ -175,7 +173,6 @@ def apply( model: Any, current_field_index: int, entities_mass_dict, - refinement_field_indices, ) -> int: new_field_indices = []