Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 18, 2024
1 parent a7c9387 commit f241991
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ansys/pytwin/evaluate/tbrom.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
from typing import Union

import numpy as np
from pytwin import _HAS_TQDM
import pyvista as pv

from pytwin import _HAS_TQDM

class TbRom:
"""
Expand Down
4 changes: 3 additions & 1 deletion src/ansys/pytwin/evaluate/twin_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1841,7 +1841,9 @@ def generate_points(self, rom_name: str, on_disk: bool = True, named_selection:
msg += f"\n{str(e)}."
self._raise_error(msg)

def project_tbrom_on_mesh(self, rom_name: str, target_mesh: pv.DataSet, interpolate: bool, named_selection: str = None):
def project_tbrom_on_mesh(
self, rom_name: str, target_mesh: pv.DataSet, interpolate: bool, named_selection: str = None
):
"""
Project the field ROM data onto a targeted mesh, using the current states of the TwinModel. The returned PyVista
DataSet object is automatically updated whenever the TwinModel is evaluated.
Expand Down

0 comments on commit f241991

Please sign in to comment.