[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: |
Thu, 11 Jul 2019 06:52:00 -0400 (EDT) |
branch: devel-tetsuo-houbolt
commit 34c22dfd019bb56d68de126ccad12a05b24b865c
Author: Tetsuo Koyama <address@hidden>
Date: Thu Jul 11 19:08:55 2019 +0900
Update comment
---
interface/tests/python/demo_wave_equation.py | 2 ++
src/getfem/getfem_models.h | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/interface/tests/python/demo_wave_equation.py
b/interface/tests/python/demo_wave_equation.py
index f996315..1deb5a1 100644
--- a/interface/tests/python/demo_wave_equation.py
+++ b/interface/tests/python/demo_wave_equation.py
@@ -64,6 +64,8 @@ md.add_Dirichlet_condition_with_multipliers(mim, 'u1', mf, 1);
## Transient part.
T = 5.0;
+# Set dt smaller to fix Newmark and Houbolt method.
+# dt = 0.001;
dt = 0.025;
beta = 0.25;
gamma = 0.5;
diff --git a/src/getfem/getfem_models.h b/src/getfem/getfem_models.h
index 9d10519..075c206 100644
--- a/src/getfem/getfem_models.h
+++ b/src/getfem/getfem_models.h
@@ -334,7 +334,7 @@ namespace getfem {
int time_integration; // 0 : no, 1 : time step, 2 : init
bool init_step;
scalar_type time_step; // Time step (dt) for time integration schemes
- scalar_type init_time_step; // Time step for initiaisation of derivatives
+ scalar_type init_time_step; // Time step for initialization of derivatives
// Structure dealing with simple dof constraints
typedef std::map<size_type, scalar_type> real_dof_constraints_var;