Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
amdis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iwr
amdis
Commits
fc3ec880
Commit
fc3ec880
authored
13 years ago
by
Naumann, Andreas
Browse files
Options
Downloads
Patches
Plain Diff
dont build the baseProblem demos
parent
5959d1dd
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
demo/CMakeLists.txt
+7
-8
7 additions, 8 deletions
demo/CMakeLists.txt
demo/src/heat.cc
+1
-1
1 addition, 1 deletion
demo/src/heat.cc
with
8 additions
and
9 deletions
demo/CMakeLists.txt
+
7
−
8
View file @
fc3ec880
...
...
@@ -36,12 +36,6 @@ target_link_libraries("bunny" ${BASIS_LIBS})
add_executable
(
"ellipt"
${
ellipt
}
)
target_link_libraries
(
"ellipt"
${
BASIS_LIBS
}
)
add_executable
(
"elliptBase"
${
elliptBase
}
)
target_link_libraries
(
"elliptBase"
${
BASIS_LIBS
}
)
add_executable
(
"elliptImplicit"
${
elliptImplicit
}
)
target_link_libraries
(
"elliptImplicit"
${
BASIS_LIBS
}
)
add_executable
(
"heat"
${
heat
}
)
target_link_libraries
(
"heat"
${
BASIS_LIBS
}
)
...
...
@@ -70,7 +64,7 @@ add_executable("vecheat" ${vecheat})
target_link_libraries
(
"vecheat"
${
BASIS_LIBS
}
)
# find tools-directory
find_path
(
TOOLS_DIR NAMES
"baseProblem"
"diffuseDomain"
DOC
"Path to tools directory in AMDiS-trunk dir"
NO_DEFAULT_PATH
)
find_path
(
TOOLS_DIR NAMES
"baseProblem
/BaseProblem.h
"
"diffuseDomain
/Helpers.h
"
DOC
"Path to tools directory in AMDiS-trunk dir"
)
if
(
TOOLS_DIR
)
if
(
NOT EXISTS
${
TOOLS_DIR
}
/diffuseDomain/Helpers.h OR NOT EXISTS
${
TOOLS_DIR
}
/baseProblems/BaseProblem.h
)
message
(
WARNING
"Wrong tools directory! Directory must contain the subdirectories 'diffuseDomain' and 'baseProblems'"
)
...
...
@@ -91,10 +85,15 @@ if (TOOLS_DIR)
add_executable
(
"drivenCavity"
${
drivenCavity
}
)
target_link_libraries
(
"drivenCavity"
${
BASIS_LIBS
}
)
add_executable
(
"elliptBase"
${
elliptBase
}
)
target_link_libraries
(
"elliptBase"
${
BASIS_LIBS
}
)
add_executable
(
"elliptImplicit"
${
elliptImplicit
}
)
target_link_libraries
(
"elliptImplicit"
${
BASIS_LIBS
}
)
endif
()
else
()
message
(
WARNING
"No tools directory specified! Some demos will not be build."
)
endif
(
TOOLS_DIR
)
#create the output dir
# file(MAKE_DIRECTORY output)
\ No newline at end of file
# file(MAKE_DIRECTORY output)
This diff is collapsed.
Click to expand it.
demo/src/heat.cc
+
1
−
1
View file @
fc3ec880
...
...
@@ -206,7 +206,7 @@ int main(int argc, char** argv)
G
*
boundaryFct
=
new
G
;
boundaryFct
->
setTimePtr
(
heat
.
getTime
());
heat
.
setExactSolution
(
boundaryFct
);
DOFVector
<
double
>
G_dof
(
ellipt
.
getFeSpace
(),
"G"
);
DOFVector
<
double
>
G_dof
(
heatSpace
.
getFeSpace
(),
"G"
);
G_dof
.
interpol
(
boundaryFct
);
heatSpace
.
addDirichletBC
(
1
,
0
,
0
,
&
G_dof
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment