Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into pt/flow-init
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Tomin authored and Pavel Tomin committed Dec 3, 2024
2 parents a786f13 + 470921f commit 24177eb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,11 @@ void SinglePhaseBase::initializePostInitialConditionsPreSubGroups()

DomainPartition & domain = this->getGroupByPath< DomainPartition >( "/Problem/domain" );

FlowSolverBase::initializeState( domain );
<< << <<< HEAD
FlowSolverBase::initializeState( domain );
=======
FlowSolverBase::initialize( domain );
>> >> >>> origin/develop
}

void SinglePhaseBase::computeHydrostaticEquilibrium( DomainPartition & domain )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -656,22 +656,5 @@ void SinglePhaseHybridFVM::resetStateToBeginningOfStep( DomainPartition & domain
} );
}

void SinglePhaseHybridFVM::updatePressureGradient( DomainPartition & domain )
{
forDiscretizationOnMeshTargets( domain.getMeshBodies(), [&] ( string const &,
MeshLevel & mesh,
arrayView1d< string const > const & regionNames )
{
FaceManager & faceManager = mesh.getFaceManager();

mesh.getElemManager().forElementSubRegions< CellElementSubRegion >( regionNames, [&]( localIndex const,
auto & subRegion )
{
singlePhaseHybridFVMKernels::AveragePressureGradientKernelFactory::createAndLaunch< parallelHostPolicy >( subRegion,
faceManager );
} );
} );
}

REGISTER_CATALOG_ENTRY( PhysicsSolverBase, SinglePhaseHybridFVM, string const &, Group * const )
} /* namespace geos */
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,6 @@ class SinglePhaseHybridFVM : public SinglePhaseBase
real64 const & dt,
DomainPartition & domain ) override;

virtual void updatePressureGradient( DomainPartition & domain ) override final;

/**
* @brief Function to perform the application of Dirichlet BCs on faces
* @param[in] time_n current time
Expand Down

0 comments on commit 24177eb

Please sign in to comment.