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

Whitespace / comments / move block

parent 1bd431b1
No related branches found
No related tags found
No related merge requests found
......@@ -207,26 +207,26 @@ int main() {
assemble_neumann<GridType, GridType::LeafGridView, SmallVector, P1Basis>(
grid.leafView(), p1Basis, neumannNodes, f);
{
std::vector<Dune::FieldVector<double, 1>> nodalIntegrals;
assemble_frictional<GridType, GridType::LeafGridView, SmallVector,
P1Basis>(grid.leafView(), p1Basis, frictionalNodes,
nodalIntegrals);
// {{{ Assemble terms for the nonlinearity
std::vector<Dune::FieldVector<double, 1>> nodalIntegrals;
assemble_frictional<GridType, GridType::LeafGridView, SmallVector, P1Basis>(
grid.leafView(), p1Basis, frictionalNodes, nodalIntegrals);
// TODO: populate on S_F
std::vector<double> normalStress;
normalStress.resize(grid.size(grid.maxLevel(), dim));
std::fill(normalStress.begin(), normalStress.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);
// 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> coefficientOfFriction;
coefficientOfFriction.resize(grid.size(grid.maxLevel(), dim));
std::fill(coefficientOfFriction.begin(), coefficientOfFriction.end(), 0.0);
Dune::GlobalNonlinearity<dim, Dune::LinearFunction> myGlobalNonlinearity(
coefficientOfFriction, normalStress, nodalIntegrals);
Dune::GlobalNonlinearity<dim, Dune::LinearFunction> myGlobalNonlinearity(
coefficientOfFriction, normalStress, nodalIntegrals);
// }}}
{
typedef MyConvexProblem<OperatorType, VectorType, Dune::LinearFunction>
MyConvexProblemType;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment