[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Getfem-commits] r4729 - in /trunk/getfem/interface/src: getfemint_mesh_
From: |
logari81 |
Subject: |
[Getfem-commits] r4729 - in /trunk/getfem/interface/src: getfemint_mesh_fem.cc getfemint_mesh_fem.h |
Date: |
Mon, 21 Jul 2014 08:22:12 -0000 |
Author: logari81
Date: Mon Jul 21 10:22:11 2014
New Revision: 4729
URL: http://svn.gna.org/viewcvs/getfem?rev=4729&view=rev
Log:
avoid ambiguous function argument naming
Modified:
trunk/getfem/interface/src/getfemint_mesh_fem.cc
trunk/getfem/interface/src/getfemint_mesh_fem.h
Modified: trunk/getfem/interface/src/getfemint_mesh_fem.cc
URL:
http://svn.gna.org/viewcvs/getfem/trunk/getfem/interface/src/getfemint_mesh_fem.cc?rev=4729&r1=4728&r2=4729&view=diff
==============================================================================
--- trunk/getfem/interface/src/getfemint_mesh_fem.cc (original)
+++ trunk/getfem/interface/src/getfemint_mesh_fem.cc Mon Jul 21 10:22:11 2014
@@ -24,7 +24,7 @@
namespace getfemint {
getfemint_mesh_fem::getfemint_mesh_fem(getfem::mesh_fem *mf_,
- id_type idmesh) {
+ id_type idmesh) {
linked_mesh_id_ = idmesh;
mf = mf_;
ikey = getfem_object::internal_key_type(mf);
@@ -36,16 +36,16 @@
}
getfemint_mesh_fem *
- getfemint_mesh_fem::get_from(getfem::mesh_fem *mf,
- int flags) {
+ getfemint_mesh_fem::get_from(getfem::mesh_fem *mf_,
+ int flags) {
getfem_object *o =
- getfemint::workspace().object(getfem_object::internal_key_type(mf));
+ getfemint::workspace().object(getfem_object::internal_key_type(mf_));
getfemint_mesh_fem *gmf = 0;
if (!o) {
getfemint_mesh *gm =
- getfemint_mesh::get_from(const_cast<getfem::mesh*>(&mf->linked_mesh()),
- flags);
- gmf = new getfemint_mesh_fem(mf, gm->get_id());
+
getfemint_mesh::get_from(const_cast<getfem::mesh*>(&mf_->linked_mesh()),
+ flags);
+ gmf = new getfemint_mesh_fem(mf_, gm->get_id());
gmf->set_flags(flags);
getfemint::workspace().push_object(gmf);
getfemint::workspace().set_dependance(gmf, gm);
@@ -57,11 +57,11 @@
getfemint_mesh_fem *
getfemint_mesh_fem::new_from(getfemint_mesh *m,
- size_type q_dim) {
+ size_type q_dim) {
//assert(::workspace == 0);
- getfem::mesh_fem *mf = new getfem::mesh_fem(m->mesh());
- mf->set_qdim(dim_type(q_dim));
- getfemint_mesh_fem *gmf = get_from(mf);
+ getfem::mesh_fem *mf_ = new getfem::mesh_fem(m->mesh());
+ mf_->set_qdim(dim_type(q_dim));
+ getfemint_mesh_fem *gmf = get_from(mf_);
assert(gmf->linked_mesh_id() == m->get_id());
return gmf;
}
Modified: trunk/getfem/interface/src/getfemint_mesh_fem.h
URL:
http://svn.gna.org/viewcvs/getfem/trunk/getfem/interface/src/getfemint_mesh_fem.h?rev=4729&r1=4728&r2=4729&view=diff
==============================================================================
--- trunk/getfem/interface/src/getfemint_mesh_fem.h (original)
+++ trunk/getfem/interface/src/getfemint_mesh_fem.h Mon Jul 21 10:22:11 2014
@@ -63,10 +63,10 @@
const getfem::mesh& linked_mesh() const { return mf->linked_mesh(); }
id_type linked_mesh_id() const { return linked_mesh_id_;}
- static getfemint_mesh_fem* get_from(getfem::mesh_fem *mf,
- int flags=0);
+ static getfemint_mesh_fem* get_from(getfem::mesh_fem *mf_,
+ int flags=0);
static getfemint_mesh_fem* new_from(getfemint_mesh *mm,
- size_type qdim);
+ size_type qdim);
};
inline bool object_is_mesh_fem(getfem_object *o) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Getfem-commits] r4729 - in /trunk/getfem/interface/src: getfemint_mesh_fem.cc getfemint_mesh_fem.h,
logari81 <=