[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Welcome GSoC students!
From: |
c. |
Subject: |
Re: Welcome GSoC students! |
Date: |
Wed, 5 Jun 2013 06:54:10 +0200 |
On 5 Jun 2013, at 02:17, Marco Vassallo <address@hidden> wrote:
> Ok, I create a /devel directory and add the code
OK.
As for the code congratulattions these are already quite useful functions!
a few quick comments:
1: the name of the functions is completely misleading,
it sounds like if they were for parsing generic xml files,
which is not the case. Also, msh has a "namespace" convention
to start all its functions by "msh".
2: please follow Octave code formatting guidelines:
http://www.gnu.org/software/octave/doc/interpreter/C_002b_002b-Sources.html#C_002b_002b-Sources
3: you should chech for errors in input data types with the "error_state" macro:
std::string mesh_to_read = args(0).string_value();
if (! error_state)
{
// do stuff
}
return retva;
4: it would be helpful to add a makefile, you could grab an example from some
ither package to start with
> Thanks
> Marco
- Re: Welcome GSoC students!, Nir Krakauer, 2013/06/04
- Re: Welcome GSoC students!, Jordi GutiƩrrez Hermoso, 2013/06/04
- Re: Welcome GSoC students!, c., 2013/06/04
- RE: Welcome GSoC students!, Marco Vassallo, 2013/06/04
- Re: Welcome GSoC students!, c., 2013/06/04
- RE: Welcome GSoC students!, Marco Vassallo, 2013/06/04
- Re: Welcome GSoC students!,
c. <=
- Dolfin mesh conversion functions [was: Re: Welcome GSoC students!], c., 2013/06/05
- RE: Dolfin mesh conversion functions [was: Re: Welcome GSoC students!], Marco Vassallo, 2013/06/05
- RE: Dolfin mesh conversion functions [was: Re: Welcome GSoC students!], Marco Vassallo, 2013/06/07
- Re: Dolfin mesh conversion functions [was: Re: Welcome GSoC students!], Juan Pablo Carbajal, 2013/06/07
- Re: Dolfin mesh conversion functions [was: Re: Welcome GSoC students!], c., 2013/06/07
- Re: Dolfin mesh conversion functions [was: Re: Welcome GSoC students!], c., 2013/06/07
- RE: Dolfin mesh conversion functions [was: Re: Welcome GSoC students!], Marco Vassallo, 2013/06/08
- Re: Dolfin mesh conversion functions [was: Re: Welcome GSoC students!], c., 2013/06/08
- RE: Dolfin mesh conversion functions [was: Re: Welcome GSoC students!], Marco Vassallo, 2013/06/08
- Re: Dolfin mesh conversion functions [was: Re: Welcome GSoC students!], c., 2013/06/08