#include <bilinearForm.hh>
Public Member Functions | |
Identity (const concepts::ElementFormulaContainer< F > frm=concepts::ElementFormulaContainer< F >()) | |
Constructor. | |
virtual void | operator() (const concepts::Element< Real > &elmX, const concepts::Element< Real > &elmY, concepts::ElementMatrix< F > &em) const |
void | operator() (const Hexahedron &elmX, const Hexahedron &elmY, concepts::ElementMatrix< F > &em) const |
virtual void | operator() (const Element< G > &elmX, const Element< G > &elmY, ElementMatrix< F > &em) const =0 |
virtual void | operator() (const Element< G > &elmX, const Element< G > &elmY, ElementMatrix< F > &em, const ElementPair< G > &ep) const |
Timing Interface | |
These functions are used to get timings from class internal computations. The values are stored in a user defined concepts::InOutParameters structure in different arrays (see concepts::ResultsTable table;
table.addMap(concepts::ResultsTable::DOUBLE, "jacobian", output);
table.addMap(concepts::ResultsTable::DOUBLE, "whole_sumfact", output);
std::ofstream ofs("table.gnuplot");
ofs << std::setprecision(20);
table.print<concepts::ResultsTable::GNUPLOT>(ofs);
Definition resultsTable.hh:23 | |
virtual Identity * | clone () const |
static void | setTimings (concepts::InOutParameters *timings) |
static bool | timings () |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
A function class to calculate element matrices for the mass matrix.
This class is equiped with an interface to get timings of internal computations if compiled accordingly (see bilinearForm.cc
file), see setTimings()
and timings()
.
Definition at line 84 of file bilinearForm.hh.
|
inlinevirtual |
Virtual constructor. Returns a pointer to a copy of itself. The caller is responsible to destroy this copy.
Implements concepts::BilinearForm< F, G >.
Definition at line 129 of file bilinearForm.hh.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::BilinearForm< F, G >.
|
pure virtualinherited |
Evaluates the bilinear form for all shape functions on elmX
and elmY
and stores the result in the matrix em
.
em
has the correct size. elmX | Left element (test functions) |
elmY | Right element (trial functions) |
em | Return element matrix |
Implemented in vectorial::BilinearForm< F, G >, concepts::BilinearFormLiCo< F, G >, concepts::BilinearFormContainer< F, G >, concepts::BilinearF_Sum< F, H, J, G >, and concepts::BilinearF_W< F, H, J, G >.
|
inlinevirtualinherited |
Evaluates the bilinear form for all shape functions on elmX
and elmY
and stores the result in the matrix em
. If this method is not reimplemented in a derived class, the default behaviour is to call the application operator without ep
.
em
has the correct size. elmX | Left element |
elmY | Right element |
em | Return element matrix |
ep | Element pair holding more information on the pair elmX and elmY |
Reimplemented in vectorial::BilinearForm< F, G >.
Definition at line 57 of file bilinearForm.hh.
|
static |
Sets the class to store the timing values in. Additionally, the timeCntr_
is reset to 0. This counter is used to fill in the values into the arrays listed below in subsequent calls. The following timings are taken and stored in timings:
jacobian
whole_sumfact
symmetrize_em
|
static |
Returns true if the class is able to do timings. The ability to do timings depends on a compiler switch in bilinearform.cc
file.