[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Getfem-commits] r4666 - in /trunk/getfem/interface: src/gf_slice.cc tes
From: |
Yves . Renard |
Subject: |
[Getfem-commits] r4666 - in /trunk/getfem/interface: src/gf_slice.cc tests/matlab/demo_static_contact.m |
Date: |
Wed, 28 May 2014 11:30:00 -0000 |
Author: renard
Date: Wed May 28 13:30:00 2014
New Revision: 4666
URL: http://svn.gna.org/viewcvs/getfem?rev=4666&view=rev
Log:
minor modification
Modified:
trunk/getfem/interface/src/gf_slice.cc
trunk/getfem/interface/tests/matlab/demo_static_contact.m
Modified: trunk/getfem/interface/src/gf_slice.cc
URL:
http://svn.gna.org/viewcvs/getfem/trunk/getfem/interface/src/gf_slice.cc?rev=4666&r1=4665&r2=4666&view=diff
==============================================================================
--- trunk/getfem/interface/src/gf_slice.cc (original)
+++ trunk/getfem/interface/src/gf_slice.cc Wed May 28 13:30:00 2014
@@ -243,7 +243,7 @@
} else if (check_cmd(cmd, "isovalues", in, 4, 4)) {
int orient = in.pop().to_integer(-1,2);
const getfem::mesh_fem &mf = *in.pop().to_const_mesh_fem();
- darray U = in.pop().to_darray(1, int(mf.nb_dof()));
+ darray U = in.pop().to_darray(int(mf.nb_dof()));
slicers.push_back(new
getfem::slicer_isovalues(getfem::mesh_slice_cv_dof_data<darray>(mf,U),
in.pop().to_scalar(),
orient));
} else if (check_cmd(cmd, "boundary", in, 0, 1)) {
Modified: trunk/getfem/interface/tests/matlab/demo_static_contact.m
URL:
http://svn.gna.org/viewcvs/getfem/trunk/getfem/interface/tests/matlab/demo_static_contact.m?rev=4666&r1=4665&r2=4666&view=diff
==============================================================================
--- trunk/getfem/interface/tests/matlab/demo_static_contact.m (original)
+++ trunk/getfem/interface/tests/matlab/demo_static_contact.m Wed May 28
13:30:00 2014
@@ -53,7 +53,7 @@
incompressibility = 0;
p_degree = 1;
r = 40; % Augmentation parameter
-gamma0 = 0.001; % Nitsche's method gamma0 parameter
+gamma0 = 0.001; % Nitsche's method gamma0 parameter
theta = 1; % Nitsche's method theta parameter
condition_type = 1; % 0 = Explicitely kill horizontal rigid displacements
@@ -74,8 +74,8 @@
% 2 : contact with 'static' Coulomb friction and basic contact
brick
% 3 : frictionless contact and the contact with a
% rigid obstacle brick
- % 4 : contact with 'static' Coulomb friction and the contact
with a
- % rigid obstacle brick
+ % 4 : contact with 'static' Coulomb friction and the contact
+ % with a rigid obstacle brick
% 5 : frictionless contact and the integral brick
% Newton and Alart-Curnier augmented lagrangian,
% unsymmetric version
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Getfem-commits] r4666 - in /trunk/getfem/interface: src/gf_slice.cc tests/matlab/demo_static_contact.m,
Yves . Renard <=