From 6d8f7ce997945dd4bf47c1e5c4682262ed005fb0 Mon Sep 17 00:00:00 2001
From: Oliver Sander <oliver.sander@tu-dresden.de>
Date: Thu, 5 Nov 2020 17:18:13 +0100
Subject: [PATCH] cosserat-continuum: Hand over the volume term to the
 assembler

In the 'mixed' case the volume term was simply forgotten, and not
actually handed to the assembler.
---
 src/cosserat-continuum.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cosserat-continuum.cc b/src/cosserat-continuum.cc
index 3ed30be5..a579384b 100644
--- a/src/cosserat-continuum.cc
+++ b/src/cosserat-continuum.cc
@@ -419,7 +419,7 @@ int main (int argc, char *argv[]) try
                         3,adouble> cosseratEnergyADOLCLocalStiffness(materialParameters,
                                                                      &neumannBoundary,
                                                                      neumannFunction,
-                                                                     nullptr);
+                                                                     volumeLoad);
 
     MixedLocalGFEADOLCStiffness<decltype(compositeBasis),
                                 RealTuple<double,3>,
-- 
GitLab