Skip to content

Commit a4bb9ac

Browse files
committed
PostProcessing: skip includes that weren't processed
1 parent 160bd73 commit a4bb9ac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

caelus/post/funcobj/functions.py

+4
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939

4040
from ...io import ControlDict
4141
from ...io.caelusdict import CaelusDict
42+
from ...io.dtypes import FoamType
4243
from .forces import ForceCoeffs, Forces, LiftDrag
4344
from .residuals import Residuals
4445
from .sampling import SampledSets, SampledSurfaces
@@ -88,6 +89,9 @@ class will attempt to infer the functions activated in ``controlDict``
8889

8990
fobj = {}
9091
for k, v in self.data.items():
92+
if isinstance(v, FoamType):
93+
continue
94+
9195
ftype = v['type']
9296
if ftype not in _func_obj_map:
9397
_lgr.info("Skipping function object: %s (%s)", k, ftype)

0 commit comments

Comments
 (0)