Skip to content

Commit

Permalink
build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Tomin authored and Pavel Tomin committed Dec 20, 2024
1 parent 4691447 commit f58b482
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -686,10 +686,10 @@ real64 CompositionalMultiphaseFVM::scalingForSystemSolutionZFormulation( DomainP
ElementSubRegionBase & subRegion )
{
arrayView1d< real64 const > const pressure = subRegion.getField< fields::flow::pressure >();
arrayView1d< real64 const > const temperature = subRegion.getField< fields::flow::temperature >();
//arrayView1d< real64 const > const temperature = subRegion.getField< fields::flow::temperature >();
arrayView2d< real64 const, compflow::USD_COMP > const compFrac = subRegion.getField< fields::flow::globalCompFraction >();
arrayView1d< real64 > pressureScalingFactor = subRegion.getField< fields::flow::pressureScalingFactor >();
arrayView1d< real64 > temperatureScalingFactor = subRegion.getField< fields::flow::temperatureScalingFactor >();
//arrayView1d< real64 > temperatureScalingFactor = subRegion.getField< fields::flow::temperatureScalingFactor >();
arrayView1d< real64 > compFracScalingFactor = subRegion.getField< fields::flow::globalCompFractionScalingFactor >();

auto const subRegionData = isothermalCompositionalMultiphaseBaseKernels::
Expand Down Expand Up @@ -762,7 +762,9 @@ bool CompositionalMultiphaseFVM::checkSystemSolution( DomainPartition & domain,

// TO DO: Implement the solution check for Z Formulation
if( m_useZFormulation )
{
return true;
}
else
{
string const dofKey = dofManager.getKey( viewKeyStruct::elemDofFieldString() );
Expand Down

0 comments on commit f58b482

Please sign in to comment.