mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Rename createPreconditioner to the more accurate name createEllipticPreconditioner.
This commit is contained in:
parent
523ba001f6
commit
d987e75b6d
@ -386,7 +386,7 @@ createEllipticPreconditionerPointer(const M& Ae, double relax,
|
|||||||
comm_(comm)
|
comm_(comm)
|
||||||
{
|
{
|
||||||
// create appropriate preconditioner for elliptic system
|
// create appropriate preconditioner for elliptic system
|
||||||
createPreconditioner( param_.cpr_use_amg_, comm );
|
createEllipticPreconditioner( param_.cpr_use_amg_, comm );
|
||||||
|
|
||||||
if( param_.cpr_ilu_n_ == 0 ) {
|
if( param_.cpr_ilu_n_ == 0 ) {
|
||||||
pre_ = createILU0Ptr<M,X>( A_, param_.cpr_relax_, comm );
|
pre_ = createILU0Ptr<M,X>( A_, param_.cpr_relax_, comm );
|
||||||
@ -537,7 +537,7 @@ createEllipticPreconditionerPointer(const M& Ae, double relax,
|
|||||||
//! \brief The information about the parallelization
|
//! \brief The information about the parallelization
|
||||||
const P& comm_;
|
const P& comm_;
|
||||||
protected:
|
protected:
|
||||||
void createPreconditioner( const bool amg, const P& comm )
|
void createEllipticPreconditioner( const bool amg, const P& comm )
|
||||||
{
|
{
|
||||||
if( amg )
|
if( amg )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user