Class xlifepp::Projector# class Projector# Collaboration diagram for xlifepp::Projector: digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "26" [label="xlifepp::Collection< string_t >" tooltip="xlifepp::Collection< string_t >"] "63" [label="xlifepp::LargeMatrix< complex_t >" tooltip="xlifepp::LargeMatrix< complex_t >"] "59" [label="xlifepp::LargeMatrix< real_t >" tooltip="xlifepp::LargeMatrix< real_t >"] "66" [label="xlifepp::LargeMatrix< xlifepp::Matrix< complex_t > >" tooltip="xlifepp::LargeMatrix< xlifepp::Matrix< complex_t > >"] "64" [label="xlifepp::LargeMatrix< xlifepp::Matrix< real_t > >" tooltip="xlifepp::LargeMatrix< xlifepp::Matrix< real_t > >"] "19" [label="xlifepp::Matrix< real_t >" tooltip="xlifepp::Matrix< real_t >"] "23" [label="xlifepp::Vector< real_t >" tooltip="xlifepp::Vector< real_t >"] "34" [label="xlifepp::Vector< xlifepp::Vector< real_t > >" tooltip="xlifepp::Vector< xlifepp::Vector< real_t > >"] "39" [label="std::list< std::pair< number_t, real_t > >" tooltip="std::list< std::pair< number_t, real_t > >"] "69" [label="std::map< const Unknown *, Constraints * >" tooltip="std::map< const Unknown *, Constraints * >"] "15" [label="std::map< number_t, std::vector< number_t > >" tooltip="std::map< number_t, std::vector< number_t > >"] "13" [label="std::map< number_t, xlifepp::Geometry * >" tooltip="std::map< number_t, xlifepp::Geometry * >"] "38" [label="std::map< string_t, number_t >" tooltip="std::map< string_t, number_t >"] "51" [label="std::map< uvPair, xlifepp::SuBilinearForm >" tooltip="std::map< uvPair, xlifepp::SuBilinearForm >"] "57" [label="std::map< uvPair, xlifepp::SuTermMatrix * >" tooltip="std::map< uvPair, xlifepp::SuTermMatrix * >"] "70" [label="std::set< xlifepp::Unknown * >" tooltip="std::set< xlifepp::Unknown * >"] "40" [label="std::list< T >" tooltip="std::list< T >"] "14" [label="std::map< K, T >" tooltip="std::map< K, T >"] "71" [label="std::set< K >" tooltip="std::set< K >"] "10" [label="std::vector< T >" tooltip="std::vector< T >"] "29" [label="std::vector< T >" tooltip="std::vector< T >"] "22" [label="std::vector< K >" tooltip="std::vector< K >"] "9" [label="std::vector< RealPair >" tooltip="std::vector< RealPair >"] "45" [label="std::vector< const xlifepp::GeomDomain * >" tooltip="std::vector< const xlifepp::GeomDomain * >"] "25" [label="std::vector< const xlifepp::Transformation * >" tooltip="std::vector< const xlifepp::Transformation * >"] "30" [label="std::vector< number_t >" tooltip="std::vector< number_t >"] "20" [label="std::vector< real_t >" tooltip="std::vector< real_t >"] "44" [label="std::vector< std::vector< GeoNumPair > >" tooltip="std::vector< std::vector< GeoNumPair > >"] "16" [label="std::vector< std::vector< int_t > >" tooltip="std::vector< std::vector< int_t > >"] "27" [label="std::vector< string_t >" tooltip="std::vector< string_t >"] "72" [label="std::vector< xlifepp::DofComponent >" tooltip="std::vector< xlifepp::DofComponent >"] "43" [label="std::vector< xlifepp::GeomDomain * >" tooltip="std::vector< xlifepp::GeomDomain * >"] "42" [label="std::vector< xlifepp::GeomElement * >" tooltip="std::vector< xlifepp::GeomElement * >"] "67" [label="std::vector< xlifepp::Matrix< complex_t > >" tooltip="std::vector< xlifepp::Matrix< complex_t > >"] "65" [label="std::vector< xlifepp::Matrix< real_t > >" tooltip="std::vector< xlifepp::Matrix< real_t > >"] "61" [label="std::vector< xlifepp::MatrixStorage * >" tooltip="std::vector< xlifepp::MatrixStorage * >"] "37" [label="std::vector< xlifepp::Parameter * >" tooltip="std::vector< xlifepp::Parameter * >"] "12" [label="std::vector< xlifepp::Point >" tooltip="std::vector< xlifepp::Point >"] "73" [label="std::vector< xlifepp::Projector * >" tooltip="std::vector< xlifepp::Projector * >"] "46" [label="std::vector< xlifepp::Space * >" tooltip="std::vector< xlifepp::Space * >"] "56" [label="std::vector< xlifepp::Term * >" tooltip="std::vector< xlifepp::Term * >"] "31" [label="std::vector< xlifepp::Transformation * >" tooltip="std::vector< xlifepp::Transformation * >"] "48" [label="std::vector< xlifepp::Unknown * >" tooltip="std::vector< xlifepp::Unknown * >"] "35" [label="std::vector< xlifepp::Vector< real_t > >" tooltip="std::vector< xlifepp::Vector< real_t > >"] "50" [label="xlifepp::BilinearForm" tooltip="xlifepp::BilinearForm"] "8" [label="xlifepp::BoundingBox" tooltip="xlifepp::BoundingBox"] "28" [label="xlifepp::Collection< T >" tooltip="xlifepp::Collection< T >"] "54" [label="xlifepp::ComputingInfo" tooltip="xlifepp::ComputingInfo"] "5" [label="xlifepp::DomainInfo" tooltip="xlifepp::DomainInfo"] "17" [label="xlifepp::ExtrusionData" tooltip="xlifepp::ExtrusionData"] "41" [label="xlifepp::GeoNode" tooltip="xlifepp::GeoNode"] "4" [label="xlifepp::GeomDomain" tooltip="xlifepp::GeomDomain"] "7" [label="xlifepp::Geometry" tooltip="xlifepp::Geometry"] "62" [label="xlifepp::LargeMatrix< T >" tooltip="xlifepp::LargeMatrix< T >"] "21" [label="xlifepp::Matrix< K >" tooltip="xlifepp::Matrix< K >"] "58" [label="xlifepp::MatrixEntry" tooltip="xlifepp::MatrixEntry"] "60" [label="xlifepp::MatrixStorage" tooltip="xlifepp::MatrixStorage"] "6" [label="xlifepp::Mesh" tooltip="xlifepp::Mesh"] "11" [label="xlifepp::MinimalBox" tooltip="xlifepp::MinimalBox"] "36" [label="xlifepp::Parameters" tooltip="xlifepp::Parameters"] "33" [label="xlifepp::Parametrization" tooltip="xlifepp::Parametrization"] "32" [label="xlifepp::Point" tooltip="xlifepp::Point"] "1" [label="xlifepp::Projector" tooltip="xlifepp::Projector" fillcolor="#BFBFBF"] "55" [label="xlifepp::ReductionMethod" tooltip="xlifepp::ReductionMethod"] "68" [label="xlifepp::SetOfConstraints" tooltip="xlifepp::SetOfConstraints"] "2" [label="xlifepp::Space" tooltip="xlifepp::Space"] "3" [label="xlifepp::SpaceInfo" tooltip="xlifepp::SpaceInfo"] "53" [label="xlifepp::Term" tooltip="xlifepp::Term"] "52" [label="xlifepp::TermMatrix" tooltip="xlifepp::TermMatrix"] "49" [label="xlifepp::TestFunction" tooltip="xlifepp::TestFunction"] "18" [label="xlifepp::Transformation" tooltip="xlifepp::Transformation"] "47" [label="xlifepp::Unknown" tooltip="xlifepp::Unknown"] "24" [label="xlifepp::Vector< K >" tooltip="xlifepp::Vector< K >"] "26" -> "27" [dir=forward tooltip="public-inheritance"] "26" -> "28" [dir=forward tooltip="template-instance"] "63" -> "30" [dir=forward tooltip="usage"] "63" -> "60" [dir=forward tooltip="usage"] "63" -> "62" [dir=forward tooltip="template-instance"] "59" -> "30" [dir=forward tooltip="usage"] "59" -> "20" [dir=forward tooltip="usage"] "59" -> "60" [dir=forward tooltip="usage"] "59" -> "62" [dir=forward tooltip="template-instance"] "66" -> "30" [dir=forward tooltip="usage"] "66" -> "67" [dir=forward tooltip="usage"] "66" -> "60" [dir=forward tooltip="usage"] "66" -> "62" [dir=forward tooltip="template-instance"] "64" -> "30" [dir=forward tooltip="usage"] "64" -> "65" [dir=forward tooltip="usage"] "64" -> "60" [dir=forward tooltip="usage"] "64" -> "62" [dir=forward tooltip="template-instance"] "19" -> "20" [dir=forward tooltip="public-inheritance"] "19" -> "21" [dir=forward tooltip="template-instance"] "23" -> "20" [dir=forward tooltip="public-inheritance"] "23" -> "24" [dir=forward tooltip="template-instance"] "34" -> "35" [dir=forward tooltip="public-inheritance"] "34" -> "24" [dir=forward tooltip="template-instance"] "39" -> "40" [dir=forward tooltip="template-instance"] "69" -> "14" [dir=forward tooltip="template-instance"] "15" -> "14" [dir=forward tooltip="template-instance"] "13" -> "14" [dir=forward tooltip="template-instance"] "38" -> "14" [dir=forward tooltip="template-instance"] "51" -> "14" [dir=forward tooltip="template-instance"] "57" -> "14" [dir=forward tooltip="template-instance"] "70" -> "71" [dir=forward tooltip="template-instance"] "22" -> "10" [dir=forward tooltip="template-instance"] "9" -> "10" [dir=forward tooltip="template-instance"] "45" -> "10" [dir=forward tooltip="template-instance"] "25" -> "10" [dir=forward tooltip="template-instance"] "30" -> "10" [dir=forward tooltip="template-instance"] "20" -> "10" [dir=forward tooltip="template-instance"] "44" -> "10" [dir=forward tooltip="template-instance"] "16" -> "10" [dir=forward tooltip="template-instance"] "27" -> "10" [dir=forward tooltip="template-instance"] "72" -> "10" [dir=forward tooltip="template-instance"] "43" -> "10" [dir=forward tooltip="template-instance"] "42" -> "10" [dir=forward tooltip="template-instance"] "67" -> "10" [dir=forward tooltip="template-instance"] "65" -> "10" [dir=forward tooltip="template-instance"] "61" -> "10" [dir=forward tooltip="template-instance"] "37" -> "10" [dir=forward tooltip="template-instance"] "12" -> "10" [dir=forward tooltip="template-instance"] "73" -> "10" [dir=forward tooltip="template-instance"] "46" -> "10" [dir=forward tooltip="template-instance"] "56" -> "10" [dir=forward tooltip="template-instance"] "31" -> "10" [dir=forward tooltip="template-instance"] "48" -> "10" [dir=forward tooltip="template-instance"] "35" -> "10" [dir=forward tooltip="template-instance"] "50" -> "51" [dir=forward tooltip="usage"] "8" -> "9" [dir=forward tooltip="usage"] "28" -> "29" [dir=forward tooltip="public-inheritance"] "54" -> "55" [dir=forward tooltip="usage"] "5" -> "6" [dir=forward tooltip="usage"] "17" -> "18" [dir=forward tooltip="usage"] "17" -> "26" [dir=forward tooltip="usage"] "17" -> "30" [dir=forward tooltip="usage"] "17" -> "20" [dir=forward tooltip="usage"] "17" -> "23" [dir=forward tooltip="usage"] "17" -> "31" [dir=forward tooltip="usage"] "17" -> "32" [dir=forward tooltip="usage"] "41" -> "41" [dir=forward tooltip="usage"] "41" -> "7" [dir=forward tooltip="usage"] "4" -> "5" [dir=forward tooltip="usage"] "4" -> "4" [dir=forward tooltip="usage"] "4" -> "7" [dir=forward tooltip="usage"] "4" -> "45" [dir=forward tooltip="usage"] "7" -> "8" [dir=forward tooltip="usage"] "7" -> "11" [dir=forward tooltip="usage"] "7" -> "13" [dir=forward tooltip="usage"] "7" -> "15" [dir=forward tooltip="usage"] "7" -> "16" [dir=forward tooltip="usage"] "7" -> "17" [dir=forward tooltip="usage"] "7" -> "33" [dir=forward tooltip="usage"] "7" -> "7" [dir=forward tooltip="usage"] "7" -> "41" [dir=forward tooltip="usage"] "62" -> "30" [dir=forward tooltip="usage"] "62" -> "60" [dir=forward tooltip="usage"] "21" -> "22" [dir=forward tooltip="public-inheritance"] "58" -> "59" [dir=forward tooltip="usage"] "58" -> "63" [dir=forward tooltip="usage"] "58" -> "64" [dir=forward tooltip="usage"] "58" -> "66" [dir=forward tooltip="usage"] "60" -> "61" [dir=forward tooltip="usage"] "6" -> "7" [dir=forward tooltip="usage"] "6" -> "12" [dir=forward tooltip="usage"] "6" -> "42" [dir=forward tooltip="usage"] "6" -> "43" [dir=forward tooltip="usage"] "6" -> "30" [dir=forward tooltip="usage"] "6" -> "44" [dir=forward tooltip="usage"] "6" -> "6" [dir=forward tooltip="usage"] "11" -> "12" [dir=forward tooltip="usage"] "36" -> "37" [dir=forward tooltip="usage"] "36" -> "38" [dir=forward tooltip="usage"] "33" -> "7" [dir=forward tooltip="usage"] "33" -> "23" [dir=forward tooltip="usage"] "33" -> "34" [dir=forward tooltip="usage"] "33" -> "6" [dir=forward tooltip="usage"] "33" -> "36" [dir=forward tooltip="usage"] "33" -> "39" [dir=forward tooltip="usage"] "32" -> "20" [dir=forward tooltip="public-inheritance"] "1" -> "2" [dir=forward tooltip="usage"] "1" -> "47" [dir=forward tooltip="usage"] "1" -> "49" [dir=forward tooltip="usage"] "1" -> "4" [dir=forward tooltip="usage"] "1" -> "50" [dir=forward tooltip="usage"] "1" -> "52" [dir=forward tooltip="usage"] "1" -> "73" [dir=forward tooltip="usage"] "68" -> "69" [dir=forward tooltip="public-inheritance"] "68" -> "70" [dir=forward tooltip="usage"] "2" -> "2" [dir=forward tooltip="usage"] "2" -> "3" [dir=forward tooltip="usage"] "2" -> "46" [dir=forward tooltip="usage"] "3" -> "4" [dir=forward tooltip="usage"] "53" -> "54" [dir=forward tooltip="usage"] "53" -> "36" [dir=forward tooltip="usage"] "53" -> "56" [dir=forward tooltip="usage"] "52" -> "53" [dir=forward tooltip="public-inheritance"] "52" -> "50" [dir=forward tooltip="usage"] "52" -> "57" [dir=forward tooltip="usage"] "52" -> "58" [dir=forward tooltip="usage"] "52" -> "68" [dir=forward tooltip="usage"] "52" -> "72" [dir=forward tooltip="usage"] "49" -> "47" [dir=forward tooltip="public-inheritance"] "18" -> "19" [dir=forward tooltip="usage"] "18" -> "23" [dir=forward tooltip="usage"] "18" -> "25" [dir=forward tooltip="usage"] "47" -> "2" [dir=forward tooltip="usage"] "47" -> "47" [dir=forward tooltip="usage"] "47" -> "48" [dir=forward tooltip="usage"] "24" -> "22" [dir=forward tooltip="public-inheritance"] } end user class handling projection from a space V to a space W Public Functions Projector(Space &V, dimen_t nbcV, Space &W, dimen_t nbcW, BilinearForm &a, const string_t &na = "")# constructor with user bilinear form Projector(Space &V, dimen_t nbcV, Space &W, dimen_t nbcW, const GeomDomain&, ProjectorType pt = _L2Projector, const string_t &na = "")# constructor with predefined projection with domain Projector(Space &V, dimen_t nbcV, Space &W, dimen_t nbcW, ProjectorType pt = _L2Projector, const string_t &na = "")# constructor with predefined projection Projector(Space &V, Space &W, BilinearForm &a, const string_t &na = "")# constructor with user bilinear form Projector(Space &V, Space &W, const GeomDomain&, ProjectorType pt = _L2Projector, const string_t &na = "")# constructor with predefined projection with domain Projector(Space &V, Space &W, ProjectorType pt = _L2Projector, const string_t &na = "")# constructor with predefined projection TermMatrix &asTermMatrix(const Unknown&, const Unknown&, const string_t& = "Projector::invA_B")# return projector as TermMatrix (build inv(A)*B) return projector as TermMatrix: inv(A)*B update TermMatrix member invA_B and delete A_ and B_ void init(dimen_t nbc_V, dimen_t nbc_W)# initialize projector TermVector operator()(const TermVector&) const# projection of a TermVector TermVector operator()(TermVector&, const Unknown&) const# projection of a TermVector, specifying result unknown projection of a TermVector, () operator TermVector &operator()(TermVector&, TermVector&) const# projection of a TermVector, specifying TermVector result void print(std::ostream&) const# print info on stream Public Members string_t name# name of projection ProjectorType projectorType# type of projection (see enum ProjectionType) Public Static Functions static void clearGlobalVector()# delete all Projector objects static void printAllProjectors(std::ostream&)# print the list of Projector objects in memory Public Static Attributes static std::vector<Projector*> theProjectors# list of existing Projector objects list of pointers of all projectors Friends friend Projector &findProjector(Space &V, dimen_t nbcV, Space &W, dimen_t nbcW, ProjectorType pt)# create if not exist friend TermVector operator*(const Projector&, const TermVector&)# projection of a TermVector using * friend std::ostream &operator<<(std::ostream&, const Projector&)# output on stream