Skip to content

Fixed the default fork being true #522

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions flow360/component/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,6 @@ def generate_surface_mesh(
params: SimulationParams,
name: str = "SurfaceMesh",
run_async: bool = True,
fork: bool = False,
solver_version: str = None,
):
"""
Expand All @@ -610,8 +609,6 @@ def generate_surface_mesh(
Name of the draft (default is "SurfaceMesh").
run_async : bool, optional
Whether to run the mesher asynchronously (default is True).
fork : bool, optional
Whether to fork the case (default is False).
solver_version : str, optional
Optional solver version to use during this run (defaults to the project solver version)

Expand All @@ -631,7 +628,7 @@ def generate_surface_mesh(
target=SurfaceMesh,
draft_name=name,
run_async=run_async,
fork=fork,
fork=False,
solver_version=solver_version,
)
)
Expand All @@ -642,7 +639,6 @@ def generate_volume_mesh(
params: SimulationParams,
name: str = "VolumeMesh",
run_async: bool = True,
fork: bool = True,
solver_version: str = None,
):
"""
Expand All @@ -656,8 +652,6 @@ def generate_volume_mesh(
Name of the draft (default is "VolumeMesh").
run_async : bool, optional
Whether to run the mesher asynchronously (default is True).
fork : bool, optional
Whether to fork the case (default is True).
solver_version : str, optional
Optional solver version to use during this run (defaults to the project solver version)

Expand All @@ -677,7 +671,7 @@ def generate_volume_mesh(
target=VolumeMeshV2,
draft_name=name,
run_async=run_async,
fork=fork,
fork=False,
solver_version=solver_version,
)
)
Expand All @@ -688,7 +682,7 @@ def run_case(
params: SimulationParams,
draft_name: str = "Case",
run_async: bool = True,
fork: bool = True,
fork: bool = False,
solver_version: str = None,
):
"""
Expand Down
Loading