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

Make room for coefficientOfFriction / normalStress

parent a5d46fca
No related branches found
No related tags found
No related merge requests found
...@@ -154,6 +154,16 @@ int main() { ...@@ -154,6 +154,16 @@ int main() {
std::cout << "Number of extremal nodes: " << extremal_nodes << std::endl; std::cout << "Number of extremal nodes: " << extremal_nodes << std::endl;
} }
// TODO: populate on S_F
std::vector<double> coefficientOfFriction;
coefficientOfFriction.resize(grid.size(grid.maxLevel(), dim));
std::fill(coefficientOfFriction.begin(), coefficientOfFriction.end(), 0.0);
// TODO: populate on S_F
std::vector<double> normalStress;
normalStress.resize(grid.size(grid.maxLevel(), dim));
std::fill(normalStress.begin(), normalStress.end(), 0.0);
{ // assemble constant 1-function on Neumann boundary { // assemble constant 1-function on Neumann boundary
BoundaryPatch<GridType::LeafGridView> neumannBoundary(grid.leafView(), BoundaryPatch<GridType::LeafGridView> neumannBoundary(grid.leafView(),
neumannNodes); neumannNodes);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment