Skip to content
Snippets Groups Projects
Commit 655ac103 authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

[Cleanup] Rename: dirichletCondition -> velocityDirichletCondition

parent 4f5dea16
No related branches found
No related tags found
No related merge requests found
......@@ -248,7 +248,8 @@ int main(int argc, char *argv[]) {
using FunctionType = Dune::VirtualFunction<double, double>;
SharedPointerMap<std::string, FunctionType> functions;
initPython(functions);
auto const &velocityDirichletFunction = functions.get("dirichletCondition");
auto const &velocityDirichletFunction =
functions.get("velocityDirichletCondition");
auto const &neumannFunction = functions.get("neumannCondition");
// Set up normal stress, mass matrix, and gravity functional
......
......@@ -2,11 +2,11 @@ class neumannCondition:
def __call__(self, x):
return 0
class dirichletCondition:
class velocityDirichletCondition:
def __call__(self, x):
return 2e-4
Functions = {
'neumannCondition' : neumannCondition(),
'dirichletCondition' : dirichletCondition()
'velocityDirichletCondition' : velocityDirichletCondition()
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment