[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Getfem-commits] (no subject)
From: |
Tetsuo Koyama |
Subject: |
[Getfem-commits] (no subject) |
Date: |
Tue, 30 Oct 2018 04:50:33 -0400 (EDT) |
branch: devel-tetsuo-code-cleanup
commit 81b99112b05b0f769b7207e939de105ed653311e
Author: Tetsuo Koyama <address@hidden>
Date: Tue Oct 30 17:48:55 2018 +0900
update: code-cleanup
---
src/getfem/getfem_mesh_fem.h | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/getfem/getfem_mesh_fem.h b/src/getfem/getfem_mesh_fem.h
index 9482d50..64cf8fc 100644
--- a/src/getfem/getfem_mesh_fem.h
+++ b/src/getfem/getfem_mesh_fem.h
@@ -553,12 +553,14 @@ namespace getfem {
/** Return the total number of basic degrees of freedom (before the
* optional reduction). */
virtual size_type nb_basic_dof() const {
- context_check(); if (!dof_enumeration_made) enumerate_dof();
+ context_check();
+ if (!dof_enumeration_made) enumerate_dof();
return nb_total_dof;
}
/// Return the total number of degrees of freedom.
virtual size_type nb_dof() const {
- context_check(); if (!dof_enumeration_made) enumerate_dof();
+ context_check();
+ if (!dof_enumeration_made) enumerate_dof();
return use_reduction ? gmm::mat_nrows(R_) : nb_total_dof;
}
/** Get a list of basic dof lying on a given mesh_region.