From a22b0d1c4ff8179cd0b9887cbcbd1e07641d74e6 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Wed, 17 Jun 2020 16:04:45 -0500 Subject: [PATCH] ElementGroupBase: Explain DOF acronym --- meshmode/discretization/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meshmode/discretization/__init__.py b/meshmode/discretization/__init__.py index a7c1b841..1829ed28 100644 --- a/meshmode/discretization/__init__.py +++ b/meshmode/discretization/__init__.py @@ -92,14 +92,14 @@ class ElementGroupBase(object): @property def nunit_dofs(self): - """The number of (for now: nodal) degrees of freedom associated with a + """The number of (for now: nodal) degrees of freedom ("DOFs") associated with a single element. """ return self.unit_nodes.shape[-1] @property def ndofs(self): - """The total number of (for now: nodal) degrees of freedom associated with + """The total number of (for now: nodal) degrees of freedom ("DOFs") associated with the element group. """ return self.nunit_dofs * self.nelements -- GitLab