Fixed name clash for Y[0]: deleted from objectRegistry

This commit is contained in:
Hrvoje Jasak 2010-09-29 22:21:40 +01:00
parent a84fff7b48
commit 92e0e64f01
6 changed files with 6 additions and 6 deletions

View file

@ -12,7 +12,7 @@ tmp<fv::convectionScheme<scalar> > mvConvection
{ {
label inertIndex = -1; label inertIndex = -1;
volScalarField Yt = 0.0*Y[0]; volScalarField Yt("Yt", 0.0*Y[0]);
for (label i = 0; i < Y.size(); i++) for (label i = 0; i < Y.size(); i++)
{ {

View file

@ -11,7 +11,7 @@ tmp<fv::convectionScheme<scalar> > mvConvection
{ {
label inertIndex = -1; label inertIndex = -1;
volScalarField Yt = 0.0*Y[0]; volScalarField Yt("Yt", 0.0*Y[0]);
for (label i = 0; i < Y.size(); i++) for (label i = 0; i < Y.size(); i++)
{ {

View file

@ -11,7 +11,7 @@ tmp<fv::convectionScheme<scalar> > mvConvection
{ {
label inertIndex = -1; label inertIndex = -1;
volScalarField Yt = 0.0*Y[0]; volScalarField Yt("Yt", 0.0*Y[0]);
for (label i=0; i<Y.size(); i++) for (label i=0; i<Y.size(); i++)
{ {

View file

@ -12,7 +12,7 @@ tmp<fv::convectionScheme<scalar> > mvConvection
{ {
label inertIndex = -1; label inertIndex = -1;
volScalarField Yt = 0.0*Y[0]; volScalarField Yt("Yt", 0.0*Y[0]);
forAll(Y, i) forAll(Y, i)
{ {

View file

@ -13,7 +13,7 @@ tmp<fv::convectionScheme<scalar> > mvConvection
{ {
label inertIndex = -1; label inertIndex = -1;
volScalarField Yt = 0.0*Y[0]; volScalarField Yt("Yt", 0.0*Y[0]);
forAll(Y, i) forAll(Y, i)
{ {

View file

@ -12,7 +12,7 @@ tmp<fv::convectionScheme<scalar> > mvConvection
{ {
label inertIndex = -1; label inertIndex = -1;
volScalarField Yt = 0.0*Y[0]; volScalarField Yt("Yt", 0.0*Y[0]);
forAll(Y, i) forAll(Y, i)
{ {