SUBMODULE: updates for catalyst

- SIGFPE handling, cmake configuration

CONFIG: adjust for simplified Catalyst channel naming

- no sub-channels, select volField output based in the
  (internal | boundary) dictionary switches instead
This commit is contained in:
Mark Olesen
2018-06-24 15:50:50 +02:00
parent 3d22c5c265
commit d9568a4b56
7 changed files with 15 additions and 166 deletions

View File

@ -8,13 +8,16 @@ catalyst
(
"<system>/scripts/pressure.py"
// "<system>/scripts/vorticity.py"
// "<etc>/caseDicts/insitu/catalyst/writeMesh.py"
// "<etc>/caseDicts/insitu/catalyst/writeAll.py"
);
inputs
{
region
{
// No boundary, otherwise we have funny lines in the slice.
boundary false;
// Selected fields (words or regex).
fields ( U p );
}

View File

@ -65,10 +65,10 @@ def CreateCoProcessor():
# create a new 'XML MultiBlock Data Reader'
# create a producer from a simulation input
regionmesh = coprocessor.CreateProducer(datadescription, 'region/mesh')
region = coprocessor.CreateProducer(datadescription, 'region')
# create a new 'Slice'
slice1 = Slice(Input=regionmesh)
slice1 = Slice(Input=region)
slice1.SliceType = 'Plane'
slice1.SliceOffsetValues = [0.0]
@ -166,7 +166,7 @@ def CreateCoProcessor():
coprocessor = CoProcessor()
# these are the frequencies at which the coprocessor updates.
freqs = {'region/mesh': [1, 1, 1]}
freqs = {'region': [1, 1, 1]}
coprocessor.SetUpdateFrequencies(freqs)
return coprocessor

View File

@ -1,4 +1,3 @@
from paraview.simple import *
from paraview import coprocessing
@ -67,10 +66,10 @@ def CreateCoProcessor():
# create a new 'XML MultiBlock Data Reader'
# create a producer from a simulation input
regionmesh = coprocessor.CreateProducer(datadescription, 'region/mesh')
region = coprocessor.CreateProducer(datadescription, 'region')
# create a new 'Slice'
slice1 = Slice(Input=regionmesh)
slice1 = Slice(Input=region)
slice1.SliceType = 'Plane'
slice1.SliceOffsetValues = [0.0]
@ -179,7 +178,7 @@ def CreateCoProcessor():
coprocessor = CoProcessor()
# these are the frequencies at which the coprocessor updates.
freqs = {'region/mesh': [1, 1, 1]}
freqs = {'region': [1, 1, 1]}
coprocessor.SetUpdateFrequencies(freqs)
return coprocessor