dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #23543
Re: [Branch ~dolfin-core/dolfin/main] Rev 5902: minor cleanup
-
To:
DOLFIN Mailing List <dolfin@xxxxxxxxxxxxxxxxxxx>
-
From:
"Garth N. Wells" <gnw20@xxxxxxxxx>
-
Date:
Mon, 30 May 2011 14:41:51 +0100
-
In-reply-to:
<20110530133042.22430.32115.launchpad@loganberry.canonical.com>
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10
>From a quick look, this code needs some fixes:
- Remove use of 'new' with plain pointers. We've made an effort to
remove 'new' from throughout the library.
- Use the DOLFIN convention for one line control statements
- Use more meaningful names (something better than, for example,
glob2loc, lci)
- Do not use MeshData for parallel data
- There are missing check on pointers which may lead to memory leaks.
Garth
On 30/05/11 14:30, noreply@xxxxxxxxxxxxx wrote:
> ------------------------------------------------------------
> revno: 5902
> committer: Kent-Andre Mardal <kent-and@xxxxxxxxx>
> branch nick: dolfin
> timestamp: Mon 2011-05-30 15:27:52 +0200
> message:
> minor cleanup
> modified:
> test/unit/bc-indicators/python/aneurysm.py
>
>
> --
> lp:dolfin
> https://code.launchpad.net/~dolfin-core/dolfin/main
>
> Your team DOLFIN Core Team is subscribed to branch lp:dolfin.
> To unsubscribe from this branch go to https://code.launchpad.net/~dolfin-core/dolfin/main/+edit-subscription
Follow ups