On 03/29/2017 06:37 PM, Jaekwang Kim wrote:

I am sorry but I am not that good at c++, so I was bit confused how to use
this function.

I have just set flag cell like

*cell->set_refine_flag ();*


Reading the document pages, you linked, I can understand that I should put
some argument inside parenthesis.
I think I should cut my cell in y-direciton (thought that it is  y in local
cell direction, it is why), so my input should be....

cell->set_refine_flag (RefinementCase::cut_y);


but I get error as...

*//Users/kimjaekwang/Programs/dealii/examples/step-1/step-1.cc:79:42:
/**/error: /*

*/      'RefinementCase' is not a class, namespace, or enumeration/*

/                  cell->set_refine_flag (RefinementCase::cut_y);/

*/                                         ^/*

*//Users/kimjaekwang/Programs/dealii/include/deal.II/base/geometry_info.h:293:7:
/**/note: /*

/      'RefinementCase' declared here/

/class RefinementCase : public RefinementPossibilities<dim>/



You should read through step-30 to see how this is done.
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