]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Example update.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 2 Apr 1998 15:20:23 +0000 (15:20 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 2 Apr 1998 15:20:23 +0000 (15:20 +0000)
git-svn-id: https://svn.dealii.org/trunk@124 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/Attic/examples/poisson/Makefile
deal.II/deal.II/Attic/examples/poisson/poisson.prm [new file with mode: 0644]
tests/big-tests/poisson/Makefile
tests/big-tests/poisson/poisson.prm [new file with mode: 0644]

index 91ad7869d04b767d7b5ee2546e380e202bc61071..d3dd2c0fced87b28734dde3e2ab68595934b75ee 100644 (file)
@@ -45,15 +45,18 @@ h-files  = $(wildcard ../include/*/*.h)
        @$(CXX) $(CXXFLAGS) -c $< -o $@
 
 
-poisson : $(go-files) $(LIBFILES.g)
+poisson: $(go-files) $(LIBFILES.g)
        @echo ============================ Linking poisson
-       $(CXX) -g $(CXXFLAGS.g) $(go-files) -o $@ ../../../mia/control.o $(LIBS.g) -lg++
+       @$(CXX) -g $(CXXFLAGS.g) $(go-files) -o $@ ../../../mia/control.o $(LIBS.g) -lg++
 
 
+run: poisson
+       poisson poisson.prm
+
 
 clean:
        rm -f *.o *.go *~ poisson
 
 
 
-.PHONY: clean
+.PHONY: run clean
diff --git a/deal.II/deal.II/Attic/examples/poisson/poisson.prm b/deal.II/deal.II/Attic/examples/poisson/poisson.prm
new file mode 100644 (file)
index 0000000..c974e9a
--- /dev/null
@@ -0,0 +1,2 @@
+set Test run          = random
+set Global refinement = 1
index 91ad7869d04b767d7b5ee2546e380e202bc61071..d3dd2c0fced87b28734dde3e2ab68595934b75ee 100644 (file)
@@ -45,15 +45,18 @@ h-files  = $(wildcard ../include/*/*.h)
        @$(CXX) $(CXXFLAGS) -c $< -o $@
 
 
-poisson : $(go-files) $(LIBFILES.g)
+poisson: $(go-files) $(LIBFILES.g)
        @echo ============================ Linking poisson
-       $(CXX) -g $(CXXFLAGS.g) $(go-files) -o $@ ../../../mia/control.o $(LIBS.g) -lg++
+       @$(CXX) -g $(CXXFLAGS.g) $(go-files) -o $@ ../../../mia/control.o $(LIBS.g) -lg++
 
 
+run: poisson
+       poisson poisson.prm
+
 
 clean:
        rm -f *.o *.go *~ poisson
 
 
 
-.PHONY: clean
+.PHONY: run clean
diff --git a/tests/big-tests/poisson/poisson.prm b/tests/big-tests/poisson/poisson.prm
new file mode 100644 (file)
index 0000000..c974e9a
--- /dev/null
@@ -0,0 +1,2 @@
+set Test run          = random
+set Global refinement = 1

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.