On 08/04/2017 04:19 AM, 'Maxi Miller' via deal.II User Group wrote:
I changed the BoundaryCondition-class to
|
template<intdim>
classBoundaryValues:publicFunction<dim>
{
private:
         equation_class eq_class =carrier_density;
         physics_equations equations;
public:
BoundaryValues(equation_class equ_class):Function<dim>(3*dim),eq_class(equ_class){}//Function<dim>(3*dim)

Yes, this makes more sense.


and at least now the compilation works. Can I thus assume that the approach was correct?

The approach seems correct. Whether it works of course depends on whether you have further bugs.

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           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 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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to