[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Getfem-users] Error occurred when using add_nonlinear_term
From: |
Tetsuo Koyama |
Subject: |
Re: [Getfem-users] Error occurred when using add_nonlinear_term |
Date: |
Tue, 26 Feb 2019 18:45:13 +0900 |
Dear Yves
Thank you for your reply.
I agree that there is a mistake in my formulation.
I'll check the formulation again.
Best Regard Tetsuo
2019年2月26日(火) 16:54 Yves Renard <address@hidden>:
>
>
> Dear Tetsuo,
>
> The error is the following : the given expression
>
> lambda*Grad_Dot_ux1*Test_Dot_uz1
>
> is not scalar because Grad_Dot_ux1 is a probably a vector, lambda and
> Test_Dot_uz1 are probably scalars quantities so the result is a vector
> quantity. However, a weak form term has to be a scalar quantity. So
> probably, there is a mistake in your formulation.
>
> Best Regards,
>
> Yves
>
>
> Le 26/02/2019 à 06:39, Tetsuo Koyama a écrit :
> > Dear GetFEM++ project
> >
> > I have a error when I make a C++ program (in attachment file) by using
> > getfem++ library.
> > I compile it in Ubuntu18.04 and compile it in the same environment
> > compiling in tests directory.
> > The message is following. I'm sorry that I couldn't understand what
> > does this mean.
> > I could only understand that it caused because of adding the following
> > brick in line 293.
> > getfem::add_nonlinear_term(model, mim,
> > "lambda*Grad_Dot_ux1*Test_Dot_uz1", LEFT, false);
> > Could you please teach me that what does this error message mean?
> >
> > Thank you for reading.
> >
> > ============================================
> > | A GMM error has been detected !!! |
> > ============================================
> > Error in getfem_generic_assembly_compile_and_exec.cc, line 6798 void
> > getfem::ga_compile(getfem::ga_workspace&, getfem::ga_instruction_set&,
> > bgeot::size_type):
> > Invalid vector or tensor quantity. An order 1 weak form has to be a
> > scalar quantity
>
>
> --
>
> Yves Renard (address@hidden) tel : (33) 04.72.43.87.08
> INSA-Lyon
> 20, rue Albert Einstein
> 69621 Villeurbanne Cedex, FRANCE
> http://math.univ-lyon1.fr/~renard
>
> ---------
>