Thanks a lot for your prompt response and I figure out how to do it.

2018-04-10 1:10 GMT+08:00 David Knezevic <david.kneze...@akselos.com>:

> On Mon, Apr 9, 2018 at 12:22 PM, 吴家桦Gauvain <causegauv...@gmail.com>
> wrote:
>
>> Hello,
>>
>> I've been working on reduced basis problems, in particular the
>> reduced_basis ex3. To improve the accuracy of integration of an
>> exponential
>> function, I want to set a high order for the Gaussian quadrature rule.
>> However, I found that the order of quadrature was decided by the FE_Type
>> object and I wonder if there is a way to allow the user to decide what
>> order rule is used for the integration. Thanks for your response.
>>
>
>
> The reduced basis code uses the FEMContext to define the quadrature rule.
> To vary the quadrature order that is used by the FEMContext you can either set
> the integer extra_quadrature_order in your System, or you can use
> the extra_quadrature_order argument to the FEMContext constructor.
>
> I suggest you refer to System and FEMContext for more info about this.
>
> David
>
>


-- 
*吴家桦 Gauvain*
*Mobile:13316300622*
*Email:g <gauvai...@foxmail.com>auvain.wujia...@gmail.com
<auvain.wujia...@gmail.com>*
中山大学中法核工程与技术学院学生
Institut Franco-Chinois de l'Energie
Nucléaire, L'université Sun Yat-sen
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to