COOLFluiD
Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
test
math
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'
))
Generated on Sun Jun 14 2015 21:20:16 for COOLFluiD by
1.8.9.1
Send comments to:
COOLFluiD Web Admin