COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
utest-math-variablemanager.py
Go to the documentation of this file.
1 import coolfluid as cf
2 
3 manager = cf.root.create_component('varmanager', 'cf3.math.VariableManager')
4 
5 descriptor = manager.create_descriptor(name='solution', description='a, b[v], c[t]')
6 descriptor.dimension = 2
7 
8 if descriptor.properties()['variables_description'] != 'a[scalar],b[vector],c[tensor]':
9  raise(Exception('Error: unexpected description value'))
Send comments to:
COOLFluiD Web Admin