Dear Kostas,

You are right, these two methods do similar things. I have deprecated 
'get_brick' and I have committed the changes.

Yves.


Le 16/02/2012 10:27, logari81 a écrit :
> Hi,
>
> I have realized there are two similar methods in the model class. The
> methods model::get_brick and model::brick_pointer differ only in
> bounds checking.
>
>     pbrick get_brick(size_type ib) const { return bricks[ib].pbr; }
>
>     pbrick brick_pointer(size_type ind_brick) {
>       GMM_ASSERT1(ind_brick < bricks.size(), "Inexistent brick");
>       return bricks[ind_brick].pbr;
>     }
>
> Should we remove one of them?
>
> Kostas
>
> _______________________________________________
> Getfem-users mailing list
> [email protected]
> https://mail.gna.org/listinfo/getfem-users


-- 

  Yves Renard ([email protected])       tel : (33) 04.72.43.87.08
  Pole de Mathematiques, INSA-Lyon             fax : (33) 04.72.43.85.29
  20, rue Albert Einstein
  69621 Villeurbanne Cedex, FRANCE
  http://math.univ-lyon1.fr/~renard

---------


_______________________________________________
Getfem-users mailing list
[email protected]
https://mail.gna.org/listinfo/getfem-users

Reply via email to