I have another question to ask, whether point load can be applied in 
deal.ii, according to the steps I have learned, I can only apply range load 
temporarily

Best,

Nick
在2020年11月7日星期六 UTC+8 下午5:58:26<Nick Wang> 写道:

> Thanks, Bruno, I solve this problem with your help!
> I think I need to learn some more C++ ,
>
> Best wishes,
>
> Nick
> 在2020年11月6日星期五 UTC+8 下午10:44:25<bruno.t...@gmail.com> 写道:
>
>> Nick, 
>>
>> You didn't declare print_mesh_info and you need to replace 
>>
>> template <int dim> 
>> void print_mesh_info(const Triangulation<dim>& triangulation, const 
>> std::string& filename) {...} 
>>
>> by 
>> template <int dim> 
>> void ElasticProblem<dim>::print_mesh_info(const Triangulation<dim>& 
>> triangulation, const std::string& filename) {...} 
>>
>> You have the same two problems with grid_1(). These are C++ problems 
>> not deal.II, so I would advise you to read a few tutorials/books on 
>> C++. I cannot debug your entire code for you. 
>>
>> Best, 
>>
>> Bruno 
>>
>>
>> Le ven. 6 nov. 2020 à 03:04, Nick Wang <wjs641...@gmail.com> a écrit : 
>> > 
>> > Thanks, Bruno 
>> > I try to end the fuction print_mesh_info() at line 107 and re-run the 
>> step again, while it still errors that i can't understand. 
>> > 
>> > 2>step-8.obj: error LNK2019: Unresolved external symbol "private: void 
>> __cdecl Step8::ElasticProblem<2>::print_mesh_info(void)" 
>> (?print_mesh_info@?$ElasticProblem@$01@Step8@@AEAAXXZ) , The symbol is 
>> referenced in the function "public: void __cdecl 
>> Step8::ElasticProblem<2>::run(void)" 
>> (?run@?$ElasticProblem@$01@Step8@@QEAAXXZ) 2>D:\dealii-9.2. 
>> 0\dealii-9.2.0\examples\step-8d\Debug\step-8.exe: fatal error LNK1120: 1 
>> unresolved external command 
>> > 
>> > Nick 
>> > 在2020年11月6日星期五 UTC+8 上午6:14:01<bruno.t...@gmail.com> 写道: 
>> >> 
>> >> Hi, 
>> >> 
>> >> The function print_mesh_info() ends at line 269. It should end at line 
>> 107. 
>> >> 
>> >> Best, 
>> >> 
>> >> Bruno 
>> >> 
>> >> On Wednesday, November 4, 2020 at 9:40:57 PM UTC-5 wjs641...@gmail.com 
>> wrote: 
>> >>> 
>> >>> Okay, I re-run the program I wrote 
>> >>> vs told me that ,what that mean? 
>> >>> 
>> >>> 2>step-8.obj: error LNK2019: Unresolved external symbol "public: void 
>> __cdecl Step8::ElasticProblem<2>::run(void)" 
>> (?run@?$ElasticProblem@$01@Step8@@QEAAXXZ) , The symbol is quoted in the 
>> function main 
>> 2>D:\dealii-9.2.0\dealii-9.2.0\examples\step-8a\Debug\step-8.exe: fatal 
>> error LNK1120: 1 unresolved external command 
>> >>> 在2020年11月4日星期三 UTC+8 上午11:09:17<Wolfgang Bangerth> 写道: 
>> >>>> 
>> >>>> On 11/3/20 7:33 PM, Nick Wang wrote: 
>> >>>> > 
>> >>>> > After I studied and understood the tutorials of step-8 and 
>> step-49. I tried 
>> >>>> > to use step-49 to import external grids to to calculate the force 
>> condition 
>> >>>> > and stress analysis, 
>> >>>> > So I modified the statement of step8 grid generation, 
>> >>>> > while failed... 
>> >>>> > Did I make a mistake or are there other ways to finish the force 
>> analysis 
>> >>>> > from external grids? 
>> >>>> 
>> >>>> Help us understand what the error message is that you get. You 
>> already have it 
>> >>>> on your screen, but we would need to download your program, put it 
>> somewhere, 
>> >>>> compile it, maybe run it. It would take someone a couple of minutes 
>> to do that 
>> >>>> -- time we wouldn't have for answering someone else's problems. 
>> >>>> 
>> >>>> Best 
>> >>>> WB 
>> >>>> 
>> >>>> -- 
>> >>>> 
>> ------------------------------------------------------------------------ 
>> >>>> Wolfgang Bangerth email: bang...@colostate.edu 
>> >>>> www: http://www.math.colostate.edu/~bangerth/ 
>> >>>> 
>> > -- 
>> > The deal.II project is located at http://www.dealii.org/ 
>> > For mailing list/forum options, see 
>> https://groups.google.com/d/forum/dealii?hl=en 
>> > --- 
>> > You received this message because you are subscribed to a topic in the 
>> Google Groups "deal.II User Group" group. 
>> > To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/dealii/iVyeXuUkCXk/unsubscribe. 
>> > To unsubscribe from this group and all its topics, send an email to 
>> dealii+un...@googlegroups.com. 
>> > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/dealii/cb8bba7f-190f-45a5-8522-066638740ab6n%40googlegroups.com.
>>  
>>
>>
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/c0f715f0-91e8-446b-913f-1069e8dd2aacn%40googlegroups.com.

Reply via email to