Exemple #1
0
 def fields(cls):
     return [
         ScalarField('rho', need_nn=True),
         ScalarField('phi', need_nn=True),
         ScalarField('theta', need_nn=True),
         VectorField('v')
     ]
Exemple #2
0
 def fields(cls):
     return [
         ScalarField('rho'),
         ScalarField('phi', need_nn=True),
         VectorField('v'),
         ScalarField('phi_laplacian')
     ]
Exemple #3
0
 def fields(cls):
     return [
         ScalarField('rho'),
         VectorField('v'),
         ScalarField('alpha', init=2.0),
         ScalarField('entropy')
     ]
Exemple #4
0
 def fields(cls):
     return LBFluidSim.fields() + [VectorField('force')]
Exemple #5
0
 def fields(cls):
     return [ScalarField('rho'), VectorField('v')]