### [deal.II] Re: KDTree question

Any idea to resolve this problem? On Tuesday, January 14, 2020 at 1:08:32 PM UTC+1, A.Z Ihsan wrote: > > Hi, > > i have question regarding the kdtree class in deal ii, though it has > become a deprecated class, but for my particular problem it might be > helpful. > sup

### [deal.II] Re: KDTree question

Dear Wolfgang, yes you are right, i did some mistakes in the initialization step and it ends up the pointer taking the kdtree is nullptr. thank you. BR, Ihsan On Tuesday, January 14, 2020 at 1:08:32 PM UTC+1, A.Z Ihsan wrote: > > Hi, > > i have question regarding the kdtree c

### [deal.II] KDTree question

Hi, i have question regarding the kdtree class in deal ii, though it has become a deprecated class, but for my particular problem it might be helpful. suppose i have a class template class A { public: A(); private: KDTree kdtree; }; the question is how we can get a get

### [deal.II] Tensor<1, dim> initialization

Hi there, just a small question. suppose we want to construct a rank-1 tensor in 3 dim with values (1, 1, 0) : Tensor<1, 3> b(); i read a documentation we can use array_type as a parameter construction, but still i aml confused how to use it. any idea how to use it? BR, Ihsan -- The

### Re: [deal.II] Tensor<1, dim> initialization

Thank you Matthias. It works perfectly! BR, Ihsan On Sunday, January 5, 2020 at 3:41:38 PM UTC+1, Matthias Maier wrote: > > > On Sun, Jan 5, 2020, at 07:15 CST, "A.Z Ihsan" > wrote: > > > Tensor<1, 3> b(); > > If you write this then you decla

### Re: [deal.II] Polycrystal on deal ii

depending on the region. I already have the elastic solver written specifically for one elastic constant. Do you have any hint where should i start? BR, Ihsan On Tuesday, April 7, 2020 at 6:17:59 PM UTC+2, Wolfgang Bangerth wrote: > > On 4/7/20 2:30 AM, A.Z Ihsan wrote: > > >

### Re: [deal.II] Polycrystal on deal ii

sed in step-44. > > Best > Andrew > > On 7 Apr 2020, at 18:36, A.Z Ihsan > > wrote: > > Hi Wolfgang, > > alright, suppose i have a box that divided into two regions, and each > region has different elastic constant (anisotropy material). > Perhaps th

### [deal.II] Polycrystal on deal ii

Hi, Would anyone give me a hint on how to implement the polycrystal problem, i.e. more than one grain boundary? I already have the tensor mechanics solver written in deal.ii, but now it needs to be extended solveing also polycrystal problem. THank you. Best, ihsan -- The deal.II project

### [deal.II] Error calculating shape gradient

Hi all, i am getting this error while calculating the local cell matrix for my hp fem application dealii::Tensor<1, spacedim> dealii::FEValuesBase> spacedim>::shape_grad_component(unsigned int, unsigned int, unsigned int) >> const [with int dim = 3; int spacedim = 3] > > The violated

### [deal.II] Re: Error calculating shape gradient

st, > Simon > > > On Wednesday, June 10, 2020 at 8:29:03 AM UTC+2, A.Z Ihsan wrote: >> >> Hi all, >> >> i am getting this error while calculating the local cell matrix for my hp >> fem application >> >> dealii::Tensor<1, spacedim> dealii

### [deal.II] Re: Error calculating shape gradient

material the solution has dim > components: > > u = (u_x, u_y, u_z) > > so you want to use a FESystem element with dim components: > > fe_collection.push_back(FESystem(FE_Q(deg), dim)); > > Best, > Simon > > > On Wednesday, June 10, 2020 at 12:03:57 PM UTC+2, A

### [deal.II] Re: hp fem error assigning Fourier

Oops, i was wrong. I followed the deal.ii 9.2.0 tutorial meanwhile in my local deal.ii version is 9.1. There is a couple different implementation in terms of FESeries::Fourier. On Friday, June 5, 2020 at 12:25:47 PM UTC+2, A.Z Ihsan wrote: > > Hi Peter, > thank you for the answer. A

### [deal.II] Re: hp fem error assigning Fourier

: > > Dear Ihsan, > > is the issue solved now? I have compiled your code with the current > version of deal.II and it works. > > Peter > > On Monday, 8 June 2020 09:56:21 UTC+2, A.Z Ihsan wrote: >> >> Oops, i was wrong. I followed the deal.ii 9.2.0 tutorial me

### [deal.II] hp fem error assigning Fourier

Hi All, I am trying to implement hp-fem into my problem according to the step-27. But, i have an error when i am trying to compile, error: no matching function for call to 'dealii::FESeries::Fourier<3, > 3>::Fourier(std::vector&, dealii::hp::FECollection<3, 3>&, >

### [deal.II] Re: hp fem error assigning Fourier

oefficients, N); } } template class hpfe::HPSolver<3, Vector> ; can you try once more? BR, ihsan > On Friday, 5 June 2020 10:40:29 UTC+2, A.Z Ihsan wrote: >> >> >> Hi All, >> >> I am trying to implement hp-fem into my problem according to the step-27