getfem-doc / getfem Goto Github PK
View Code? Open in Web Editor NEWMirror of GetFEM repository
Home Page: https://getfem.org/
License: Other
Mirror of GetFEM repository
Home Page: https://getfem.org/
License: Other
# Copyright (C) 1999-2020 Yves Renard # # This file is a part of GetFEM # # GetFEM is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published # by the Free Software Foundation; either version 3 of the License, or # (at your option) any later version along with the GCC Runtime Library # Exception either version 3.1 or (at your option) any later version. # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public # License and GCC Runtime Library Exception for more details. # You should have received a copy of the GNU Lesser General Public License # along with this program; if not, write to the Free Software Foundation, # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. Please read INSTALL and see the site https://getfem.org/ IMAGES and documentation : # Permission is granted to copy, distribute and/or modify all # documentations and images included in GetFEM package # under the terms of the GNU Free Documentation License, Version 1.3 # or any later version published by the Free Software Foundation; # with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. # A copy of the license is included in top directory.
Hi,
From Debian build log, we got:
...
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/interface/tests/python/./check_levelset.py", line 30, in <module>
> from scipy import rand
> ImportError: cannot import name 'rand' from 'scipy' (/usr/lib/python3/dist-packages/scipy/__init__.py)
> FAIL check_levelset.py (exit status: 1)
I have proposed one patch to fix the issue:
--- a/interface/tests/python/check_levelset.py
+++ b/interface/tests/python/check_levelset.py
@@ -27,7 +27,6 @@
$Id$
"""
import numpy as np
-from scipy import rand
import getfem as gf
@@ -76,7 +75,7 @@
if True:
sl = gf.Slice(('none',), mls, 2);
- U = rand(1,nbd);
+ U = np.random.rand(1,nbd);
sl.export_to_pos('slU.pos',mfls,U,'U')
mfls.export_to_pos('U.pos',U,'U')
cm.export_to_pos('cm.pos')
Please help to review it.
TIA.
BR,
Bo
Let's add travis environment of MacOS X.
make
is to hard for windows user to compile
v5.3 libgetfemint.vcxproj
....\interface\src\gf_undelete.cc
v4.3 found gf_undelete ?
pls update proj msvc
delete in proj str libgetfemint.vcxproj
....\interface\src\gf_undelete.cc
error
e:\tools\vcpkg\buildtrees\getfem\x64-windows-rel\80b20d7c43-beee2414f8\src\getfem_contact_and_friction_nodal.cc(183): error C2039: 'delaunay': is not a member of 'getfem' [E:\tools\vcpkg\buildtrees\getfem\x64-windows-rel\80b20d7c43-beee2414f8\msvc\libgetfem\libgetfem.vcxproj]
e:\tools\vcpkg\buildtrees\getfem\x64-windows-rel\80b20d7c43-beee2414f8\src\getfem_contact_and_friction_nodal.cc(31): note: see declaration of 'getfem'
e:\tools\vcpkg\buildtrees\getfem\x64-windows-rel\80b20d7c43-beee2414f8\src\getfem_contact_and_friction_nodal.cc(183): error C3861: 'delaunay': identifier not found [E:\tools\vcpkg\buildtrees\getfem\x64-windows-rel\80b20d7c43-beee2414f8\msvc\libgetfem\libgetfem.vcxproj]
c1xx : fatal error C1083: Cannot open source file: '....\src\getfem_generic_assembly.cc': No such file or directory
Hi, i am trying to use getfem++ for some 3D crack analysis. do you know where can i find simiilar example files?
There are some screenshots on the website, but it seems no 3D crack example files can be found.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.