On Tue, May 27, 2014 at 10:21 AM, Miguel Angel Salazar de Troya <
salazardetr...@gmail.com> wrote:

> Hello
>
> I want to use the AMR in a problem with LAGRANGE_VEC elements, but I would
> like to know if this is possible. I tried to run equation_systems.reinit ()
>

It might be possible, though I don't know if Paul has ever tested that.



> as a first step before writing the rest of the AMR code like in example
> adaptivity_ex3, but I had this error:
>
> [1] src/fe/fe_base.C, line 431, compiled May 21 2014 at 12:15:20
> ERROR: Bad FEType.family= 41
> [0] src/fe/fe_base.C, line 431, compiled May 21 2014 at 12:15:20
>

The problem is that you are trying to call FEBase::build with a vector FE
type.  You have to call FEVectorBase::build instead:

AutoPtr<FEVectorBase> fe (FEVectorBase::build(dim, fe_type));

See examples/vector_fe/* for more vector FE code...

-- 
John
------------------------------------------------------------------------------
The best possible search technologies are now affordable for all companies.
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no commitment.
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to