Skip to content

Commit

Permalink
Try to create a 3D Q1 element
Browse files Browse the repository at this point in the history
  • Loading branch information
ckhroulev committed Oct 14, 2020
1 parent 377504a commit 02a2859
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/stressbalance/blatter/Poisson3.cc
Expand Up @@ -20,7 +20,7 @@
#include <cassert>

#include "Poisson3.hh"

#include "pism/util/fem/FEM.hh"
#include "pism/util/error_handling.hh"

namespace pism {
Expand Down Expand Up @@ -58,6 +58,8 @@ void Poisson3::compute_residual(DMDALocalInfo *info,
ym = info->ym,
zm = info->zm;

fem::Q1Element3 E(*info, m_grid->dx(), m_grid->dy(), fem::Q13DQuadrature8());

// loop over elements
for (int k = gzs; k < zs + zm; k++) {
for (int j = gys; j < ys + ym; j++) {
Expand Down

0 comments on commit 02a2859

Please sign in to comment.