#include <tutorials/scl-12/src/electrostatics.hpp>
template<int SPACE_DIM>
struct OpElectricDispJump< SPACE_DIM >
Definition at line 300 of file electrostatics.hpp.
◆ OpElectricDispJump()
Definition at line 301 of file electrostatics.hpp.
311 std::fill(&doEntities[MBVERTEX], &doEntities[MBMAXTYPE],
false);
312 doEntities[MBVERTEX] =
true;
◆ doWork()
Definition at line 315 of file electrostatics.hpp.
319 auto t_field_grad = getFTensor1FromMat<SPACE_DIM>(*
gradPtr);
321 double blockPermittivity = 0.0;
324 if (
n.second.domainEnts.find(getFEEntityHandle()) !=
325 n.second.domainEnts.end()) {
326 blockPermittivity =
n.second.epsPermit;
329 auto N_InLoop = getNinTheLoop();
330 auto sensee = getSkeletonSense();
331 auto nb_gauss_pts = getGaussPts().size2();
337 auto t_jump = getFTensor1FromMat<SPACE_DIM>(*
djump);
339 for (
int gg = 0; gg != nb_gauss_pts; gg++) {
340 t_jump(
i) -= t_field_grad(
i) * blockPermittivity * sensee;
◆ commonDataPtr
◆ djump
◆ gradPtr
◆ permBlockSetsPtr
The documentation for this struct was generated from the following file: