SyFi  0.3
SyFi::VectorDiscontinuousLagrange Class Reference

#include <DiscontinuousLagrange.h>

Inheritance diagram for SyFi::VectorDiscontinuousLagrange:
SyFi::VectorLagrange SyFi::StandardFE SyFi::FE

List of all members.

Public Member Functions

 VectorDiscontinuousLagrange ()
 VectorDiscontinuousLagrange (Polygon &p, unsigned int order=1)
virtual ~VectorDiscontinuousLagrange ()
virtual void set_element_number (unsigned int element)
virtual void set_size (unsigned int size_)
virtual void compute_basis_functions ()

Private Attributes

GiNaC::ex element

Detailed Description

Definition at line 39 of file DiscontinuousLagrange.h.


Constructor & Destructor Documentation

Definition at line 83 of file DiscontinuousLagrange.cpp.

References SyFi::StandardFE::description, and element.

                                                                  :
        VectorLagrange()
        {
                description = "DiscontinuousLagrange";
                element = GiNaC::symbol("e");
        }

Definition at line 77 of file DiscontinuousLagrange.cpp.

References compute_basis_functions(), and element.

                                                                                                : VectorLagrange(p,order)
        {
                compute_basis_functions();
                element = GiNaC::symbol("e");
        }

Definition at line 45 of file DiscontinuousLagrange.h.

{}

Member Function Documentation

Reimplemented from SyFi::VectorLagrange.

Definition at line 90 of file DiscontinuousLagrange.cpp.

References SyFi::StandardFE::description, SyFi::StandardFE::dofs, element, SyFi::StandardFE::Ns, and SyFi::StandardFE::str().

Referenced by SyFi::ArnoldFalkWintherWeakSymU::compute_basis_functions(), SyFi::ArnoldFalkWintherWeakSymP::compute_basis_functions(), and VectorDiscontinuousLagrange().

        {

                // remove previously computed basis functions and dofs
                Ns.clear();
                dofs.clear();

                VectorLagrange:: compute_basis_functions();

                for (unsigned int i=0; i< dofs.size(); i++)
                {
                        dofs[i] = GiNaC::lst(dofs[i].op(0), dofs[i].op(1), element);
                }

                description = "Discontinuous" +  VectorLagrange:: str();
        }
void SyFi::VectorDiscontinuousLagrange::set_element_number ( unsigned int  element) [virtual]

Definition at line 112 of file DiscontinuousLagrange.cpp.

References element.

        {
                element = element_;
        }

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator