[Dune-devel] Request for late release feature

Oliver Sander sander at igpm.rwth-aachen.de
Fri Jan 17 15:58:25 CET 2014


Dear 2.3 release managers,
I know we are late in the release process.  Nevertheless I would like to ask
for the following patch to be cherry-picked to the dune-istl 2.3 release branch,
even though it is not a bugfix.  It is very non-invasive though, only adding
one method.  Having this method in the release would help me greatly.
Thank you very much,
Oliver


Am 17.01.2014 15:50, schrieb Oliver Sander:
> New commit, appeared at Fri Jan 17 15:50:35 2014 +0100
> as part of the following ref changes:
> 
>     branch refs/heads/master    updated from 8df1d99 -> 676c273
> 
> Browsable version: http://cgit.dune-project.org/repositories/dune-istl/commit/?id=676c2739621e65d65ac6dd5f79c096faeef3c02a
> 
> ======================================================================
> 
> commit 676c2739621e65d65ac6dd5f79c096faeef3c02a
> Author: Oliver Sander <sander at igpm.rwth-aachen.de>
> Date:   Fri Jan 17 15:50:05 2014 +0100
> 
>     Add method to control UMFPack-specific options
> 
>  dune/istl/umfpack.hh | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
> 
> 
> 
> diff --git a/dune/istl/umfpack.hh b/dune/istl/umfpack.hh
> index 315167a..39e8e7f 100644
> --- a/dune/istl/umfpack.hh
> +++ b/dune/istl/umfpack.hh
> @@ -359,6 +359,25 @@ namespace Dune {
>        printOnApply(UMF_Apply_Info);
>      }
>  
> +    /** @brief Set UMFPack-specific options
> +     *
> +     * This method allows to set various options that control the UMFPack solver.
> +     * More specifically, it allows to set values in the UMF_Control array.
> +     * Please see the UMFPack documentation for a list of possible options and values.
> +     *
> +     * \param option Entry in the UMF_Control array, e.g., UMFPACK_IRSTEP
> +     * \param value Corresponding value
> +     *
> +     * \throws RangeError If nonexisting option was requested
> +     */
> +    void setOption(unsigned int option, double value)
> +    {
> +      if (option >= UMFPACK_CONTROL)
> +        DUNE_THROW(RangeError, "Requested non-existing UMFPack option");
> +
> +      UMF_Control[option] = value;
> +    }
> +
>      /** @brief saves a decomposition to a file
>       * @param file the filename to save to
>       */
> 
> _______________________________________________
> Dune-Commit mailing list
> Dune-Commit at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-commit
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 534 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20140117/9451fb89/attachment.sig>


More information about the Dune-devel mailing list