MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / update

Method update

tools/Assembler/Materials/ElementWiseSymmetricMaterial.cpp:26–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26void ElementWiseSymmetricMaterial::update() {
27 const size_t dim = m_material_mesh->get_dim();
28 if (dim == 2) {
29 update_2D();
30 } else if (dim == 3) {
31 update_3D();
32 } else {
33 std::stringstream err_msg;
34 err_msg << "Unknow dimention: " << dim;
35 throw NotImplementedError(err_msg.str());
36 }
37}
38
39void ElementWiseSymmetricMaterial::update_2D() {
40 const size_t num_entries_per_matrix = 9;

Callers

nothing calls this directly

Calls 3

NotImplementedErrorClass · 0.85
get_dimMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected