From: SKang <ss...@pu...> - 2018-03-19 09:19:28
|
Hello, all.I try to solve an RB problem similar to the RB example 5.Iused multiple domains with lengthscaling factors.So I need to plot themeshto match the scaling given by the input value to each subdomain.For the libmesh code to plot, I will refer to "scale_mesh_and_plot" in the RB Example 5.However, I don't know how to obtain subdomain information from nodes.So I want to ask two questions.1. Please let me know if there is a similar code to the following code for a node.----------------------------------------------------------------------------------------Elem * elem = &c.get_elem();if(elem -> subdomain_id() == AREA_ID1)-----------------------------------------------------------------------------------------2. If not, I want to know another way to obtain subdomain information from nodes.Thank you.Best regards,Kang ------------------------------------------------------------ ShinseongKang GraduateStudent PusanNationalUniversity H.P.:010-9770-6595 E-mail:ss...@pu... ------------------------------------------------------------ |