MFEM v4.8.0
Finite element discretization library
Loading...
Searching...
No Matches
bilininteg_elasticity_ea.cpp
Go to the documentation of this file.
1// Copyright (c) 2010-2025, Lawrence Livermore National Security, LLC. Produced
2// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
3// LICENSE and NOTICE for details. LLNL-CODE-806117.
4//
5// This file is part of the MFEM library. For more information and source code
6// availability visit https://mfem.org.
7//
8// MFEM is free software; you can redistribute it and/or modify it under the
9// terms of the BSD-3 license. We welcome feedback and contributions, see file
10// CONTRIBUTING.md for details.
11
13#include "../bilininteg.hpp"
15
16namespace mfem
17{
19 Vector &emat,
20 const bool add)
21{
22 AssemblePA(fes);
23 const auto &ir = parent.q_space->GetIntRule(0);
24 internal::ElasticityAssembleEA(parent.vdim, i_block, j_block, parent.ndofs, ir,
25 *parent.lambda_quad, *parent.mu_quad,
26 *geom, *maps, emat);
27}
28}
Header for small strain, isotropic, linear elasticity kernels.
void AssemblePA(const FiniteElementSpace &fes) override
Method defining partial assembly.
void AssembleEA(const FiniteElementSpace &fes, Vector &emat, const bool add=true) override
Method defining element assembly.
Class FiniteElementSpace - responsible for providing FEM view of the mesh, mainly managing the set of...
Definition fespace.hpp:244
Vector data type.
Definition vector.hpp:82
void add(const Vector &v1, const Vector &v2, Vector &v)
Definition vector.cpp:391