Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git commands in code-gallery/goal_oriented_elastoplasticity/readme.md can not work #86

Open
ohcfe opened this issue Dec 23, 2020 · 1 comment

Comments

@ohcfe
Copy link

ohcfe commented Dec 23, 2020

code-gallery/goal_oriented_elastoplasticity/readme.md
seems to imply that the directory is its-self a git repository when it says:

The code contains several examples consisting of the three examples presented in the aforementioned paper. To run each of them you can switch to them, e.g.
```bash
git checkout Thick_tube_internal_pressure

git checkout  Perforated_strip_displacement_3d

git checkout  Cantiliver_II_beam_3d

Since the directory is in fact not a git repository trying those commands results in git not finding the files to check out:

$ pwd
/home/mgesing/Documents/dealii/code-gallery/goal_oriented_elastoplasticity
$ ls
Cantiliver_II_beam_3d.prm  CMakeLists.txt  doc  elastoplastic.cc  readme.md  Thick_tube_internal_pressure.prm
$ git checkout Thick_tube_internal_pressure
error: pathspec 'Thick_tube_internal_pressure' did not match any file(s) known to git.

I suppose that the git repository that those git commands are supposed to interact with exists somewhere, and there should be a line above the git checkout commands saying something like "clone the repository with git clone https://..."

Do you know where the git repo is?

@bangerth
Copy link
Member

Oh dear, we never addressed this question :-( I don't know the answer, you will have to ask the original author of the program (their email address is listed at the top of this page: https://dealii.org/developer/doxygen/deal.II/code_gallery_goal_oriented_elastoplasticity.html).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants