MCPcopy Create free account
hub / github.com/NGSolve/ngsolve / PrintReport

Method PrintReport

comp/fespace.cpp:1361–1388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1359
1360
1361 void FESpace :: PrintReport (ostream & ost) const
1362 {
1363 ost << "type = " << GetClassName() << endl
1364 << "order = " << order << endl
1365 << "dim = " << dimension << endl
1366 << "dgjmps= " << dgjumps << endl
1367 << "autoupdate= " << autoupdate << endl
1368 << "complex = " << iscomplex << endl;
1369 ost << "definedon = " << definedon[VOL] << endl;
1370 ost << "definedon boundary = " << definedon[BND] << endl;
1371 ost << "definedon codim 2 = " << definedon[BBND] << endl;
1372 if (!free_dofs) return;
1373
1374 ost << "ndof = " << GetNDof() << endl;
1375 int ntype[16] = { 0 };
1376
1377 for (auto ct : ctofdof) ntype[ct]++;
1378 if (ntype[UNUSED_DOF]) ost << "unused = " << ntype[UNUSED_DOF] << endl;
1379 if (ntype[HIDDEN_DOF]) ost << "hidden = " << ntype[HIDDEN_DOF] << endl;
1380 if (ntype[LOCAL_DOF]) ost << "local = " << ntype[LOCAL_DOF] << endl;
1381
1382 /*
1383 int nfree = 0;
1384 for (int i = 0; i < free_dofs->Size(); i++)
1385 if ((*free_dofs)[i])
1386 nfree++;
1387 */
1388 }
1389
1390 void FESpace :: DoArchive (Archive & archive)
1391 {

Callers

nothing calls this directly

Calls 2

GetClassNameFunction · 0.70
GetNDofFunction · 0.70

Tested by

no test coverage detected