G Data on the Neumann boundary Stress = G(X,T) returns values of the normal-derivative at N discrete points on the Neumann boundary at time T. This input data has to be choosen by the user. X has dimension N x 2 and Y has dimension N x 1. See also HMMFEM2D, F, and U_D. The code is available at http://anmc.epfl.ch/ and described in further detail in A. Abdulle and A. Nonnenmacher "A short and versatile finite element multiscale code for homogenization problems" Computer Methods in Applied Mechanics and Engineering, http://dx.doi.org/10.1016/j.cma.2009.03.019 Please cite this article in any publication describing research performed using the software. Email : assyr.abdulle@epfl.ch and achim.nonnenmacher@epfl.ch Last updated : 04/29/2009 with MATLAB 7.4 FE_HMM2D is Copyright (C) 2009 A. Abdulle and A. Nonnenmacher. The software is provided free for non-commercial use unter the terms of the GNU General Public License. See "copyright.m" for full details.
0001 function Stress = g_t(x,t) 0002 %G Data on the Neumann boundary 0003 % Stress = G(X,T) returns values of the normal-derivative at N discrete points on 0004 % the Neumann boundary at time T. This input data has to be choosen by the user. X 0005 % has dimension N x 2 and Y has dimension N x 1. 0006 % 0007 % See also HMMFEM2D, F, and U_D. 0008 % 0009 % 0010 % The code is available at http://anmc.epfl.ch/ and described in 0011 % further detail in 0012 % 0013 % A. Abdulle and A. Nonnenmacher 0014 % "A short and versatile finite element multiscale code for 0015 % homogenization problems" 0016 % Computer Methods in Applied Mechanics and Engineering, 0017 % http://dx.doi.org/10.1016/j.cma.2009.03.019 0018 % 0019 % Please cite this article in any publication describing research 0020 % performed using the software. 0021 % 0022 % 0023 % Email : assyr.abdulle@epfl.ch and achim.nonnenmacher@epfl.ch 0024 % Last updated : 04/29/2009 with MATLAB 7.4 0025 % 0026 % FE_HMM2D is Copyright (C) 2009 A. Abdulle and A. Nonnenmacher. 0027 % The software is provided free for non-commercial use unter the terms of 0028 % the GNU General Public License. See "copyright.m" for full details. 0029 0030 % 0031 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0032 0033 0034 Stress = zeros(size(x,1),1);