Hello all, 

I defined a class named SCDWrapper inside the point history class which 
needs information about the depth of the gauss point corresponding to the 
point history object's location from the surface when it is created. 

```
template <int dim>
  class PointHistory
  {   
    public:
    PointHistory(double&);
    ~PointHistory();
    SCDWrapper srscd;
  };
```

So I added an argument storing the depth to the constructor of point 
history class which then passes it to the member class. 

```
template <int dim> PointHistory<dim>::PointHistory(double 
&depth_in):srscd(depth_in)
  {
  }
```

My question is how do I initialize the point history objects with this 
argument (which is variable across the gauss points) and pass it to the 
constructor. For example, in Step 18 in the function 
*setup_quadrature_point_history* where the point history objects are 
initialized, how do I pass the information about this depth variable. 

Thanks, 
Sabyasachi 




-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/14ce9ef5-57d2-4bbd-bc07-52e5198a5490n%40googlegroups.com.

Reply via email to