[Getfem-commits] [getfem-commits] branch master updated: minor fix

2022-06-23 Thread Yves Renard
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 20c315d5 minor fix
20c315d5 is described below

commit 20c315d50174ef3bb264a3d849a46e059f540668
Author: Renard Yves 
AuthorDate: Thu Jun 23 16:02:13 2022 +0200

minor fix
---
 interface/tests/matlab-octave/check_all_octave.sh | 2 +-
 interface/tests/matlab-octave/demo_refine.m   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/interface/tests/matlab-octave/check_all_octave.sh 
b/interface/tests/matlab-octave/check_all_octave.sh
index 53dd703a..36282a56 100755
--- a/interface/tests/matlab-octave/check_all_octave.sh
+++ b/interface/tests/matlab-octave/check_all_octave.sh
@@ -32,7 +32,7 @@ echo "  srcdir='$srcdir'"
 
 # s=$(echo "s=getenv('MATLABPATH'); while (length(s)), [a,s]=strtok(s,':'); 
addpath(a); end; disp(pwd); check_all; pause(1)" | ${MLAB} 2>&1);
 
-s=$(echo "addpath('../../src/octave'); addpath('${srcdir}/../../src/octave'); 
disp(pwd); pause(1);" | octave check_all.m 2>&1);
+s=$(echo "addpath('../../src/octave'); addpath('${srcdir}/../../src/octave'); 
disp(pwd); pause(1); check_all; pause(1);" | octave 2>&1);
 
 # echo $s
 
diff --git a/interface/tests/matlab-octave/demo_refine.m 
b/interface/tests/matlab-octave/demo_refine.m
index 65849c25..70642052 100644
--- a/interface/tests/matlab-octave/demo_refine.m
+++ b/interface/tests/matlab-octave/demo_refine.m
@@ -68,7 +68,7 @@ gf_model_set(md, 'add Dirichlet condition with multipliers', 
mim, 'u', mfu, 1);
 
 
 
-for step=1:8,
+for step=1:7,
   gf_model_get(md, 'solve');
   U = gf_model_get(md, 'variable', 'u');
   



[Getfem-commits] [getfem-commits] branch master updated: Fix typos

2022-06-23 Thread Konstantinos Poulios via Getfem-commits
This is an automated email from the git hooks/post-receive script.

logari81 pushed a commit to branch master
in repository getfem.

The following commit(s) were added to refs/heads/master by this push:
 new df62d419 Fix typos
df62d419 is described below

commit df62d419e989fe639d82fda45936da9254327f82
Author: Konstantinos Poulios 
AuthorDate: Thu Jun 23 10:09:02 2022 +0200

Fix typos
---
 src/getfem_generic_assembly_compile_and_exec.cc | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/getfem_generic_assembly_compile_and_exec.cc 
b/src/getfem_generic_assembly_compile_and_exec.cc
index 7b1260e5..b2f629c5 100644
--- a/src/getfem_generic_assembly_compile_and_exec.cc
+++ b/src/getfem_generic_assembly_compile_and_exec.cc
@@ -5660,7 +5660,7 @@ namespace getfem {
 "Wrong context for elementary transformation");
 GMM_ASSERT1(&(mfo->linked_mesh()) == &(m),
 "The finite element of variable " << pnode->name
-<< " has to be defined on the same mesh than the "
+<< " has to be defined on the same mesh as the "
 << "integration method or interpolation used");
   }
   
@@ -5679,7 +5679,7 @@ namespace getfem {
 GMM_ASSERT1(&(mf->linked_mesh()) == &(m),
 "The finite element of variable " <<
 (is_elementary ? pnode->elementary_target : 
pnode->name)
-<< " has to be defined on the same mesh than the "
+<< " has to be defined on the same mesh as the "
 << "integration method or interpolation used");
 
 // An instruction for extracting local dofs of the variable.
@@ -5949,7 +5949,7 @@ namespace getfem {
   GMM_ASSERT1(mf, "Internal error");
   GMM_ASSERT1(&(mf->linked_mesh()) == &(psd->mim().linked_mesh()),
   "The finite element of variable " << pnode->name <<
-  " has to be defined on the same mesh than the "
+  " has to be defined on the same mesh as the "
   "integration method or interpolation used on the "
   "secondary domain");
 
@@ -6121,13 +6121,13 @@ namespace getfem {
   "Wrong context for elementary transformation");
   GMM_ASSERT1(&(mfo->linked_mesh()) == &(m),
   "The finite element of variable " << pnode->name
-  << " has to be defined on the same mesh than the "
+  << " has to be defined on the same mesh as the "
   << "integration method or interpolation used");
 }
 
 if (mf) {
   GMM_ASSERT1(&(mf->linked_mesh()) == &(m),
-  "The finite element of variable " << pnode->name <<
+  "The finite element of variable " <<
   (is_elementary ? pnode->elementary_target : pnode->name)
   << " and the applied integration method have to be"
   << " defined on the same mesh");