[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Getfem-commits] [getfem-commits] branch master updated: fix a problem w
From: |
Yves Renard |
Subject: |
[Getfem-commits] [getfem-commits] branch master updated: fix a problem with a non adaptation of mim to mesh change |
Date: |
Fri, 22 Jul 2022 04:26:42 -0400 |
This is an automated email from the git hooks/post-receive script.
renard pushed a commit to branch master
in repository getfem.
The following commit(s) were added to refs/heads/master by this push:
new 49aedfae fix a problem with a non adaptation of mim to mesh change
49aedfae is described below
commit 49aedfae40b2d37d0a9cd191c319dd3156905c24
Author: Yves Renard <Yves.Renard@insa-lyon.fr>
AuthorDate: Fri Jul 22 10:26:13 2022 +0200
fix a problem with a non adaptation of mim to mesh change
---
src/getfem/getfem_mesh_im.h | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/getfem/getfem_mesh_im.h b/src/getfem/getfem_mesh_im.h
index adf1840c..ef3e8678 100644
--- a/src/getfem/getfem_mesh_im.h
+++ b/src/getfem/getfem_mesh_im.h
@@ -71,7 +71,7 @@ namespace getfem {
/** Get the set of convexes where an integration method has been assigned.
*/
inline const dal::bit_vector &convex_index(void) const
- { return im_convexes; }
+ { context_check(); return im_convexes; }
bool is_lower_dimensional() const { return is_lower_dim; }
@@ -119,9 +119,8 @@ namespace getfem {
void clear(void);
size_type memsize() const {
- return
- sizeof(mesh_im) +
- ims.memsize() + im_convexes.memsize();
+ context_check();
+ return sizeof(mesh_im) + ims.memsize() + im_convexes.memsize();
}
void init_with_mesh(const mesh &me);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Getfem-commits] [getfem-commits] branch master updated: fix a problem with a non adaptation of mim to mesh change,
Yves Renard <=