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

2020-01-05 Thread A.Z Ihsan
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 dea

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

2020-01-05 Thread A.Z Ihsan
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

[deal.II] KDTree question

2020-01-14 Thread A.Z Ihsan
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 functio

[deal.II] Re: KDTree question

2020-01-14 Thread A.Z Ihsan
omething() function. 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 >

[deal.II] Re: KDTree question

2020-01-16 Thread A.Z Ihsan
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] Polycrystal on deal ii

2020-04-07 Thread A.Z Ihsan
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

Re: [deal.II] Polycrystal on deal ii

2020-04-07 Thread A.Z Ihsan
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

2020-04-07 Thread A.Z Ihsan
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] hp fem error assigning Fourier

2020-06-05 Thread A.Z Ihsan
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>&, > dealii::hp::QCollection<3>

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

2020-06-05 Thread A.Z Ihsan
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. &

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

2020-06-08 Thread A.Z Ihsan
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

2020-06-08 Thread A.Z Ihsan
: > > 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 meanw

[deal.II] Error calculating shape gradient

2020-06-09 Thread A.Z Ihsan
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 condition

[deal.II] Re: Error calculating shape gradient

2020-06-10 Thread A.Z Ihsan
t; Best, > 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> d

[deal.II] Re: Error calculating shape gradient

2020-06-10 Thread A.Z Ihsan
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