Hermes2D  3.0
Hermes::Hermes2D::OGProjection< Scalar > Singleton Reference

Class for (global) orthogonal projecting. If the projection is not necessary (if a solution belongs to the space), then its solution vector is used. More...

#include <ogprojection.h>

+ Inheritance diagram for Hermes::Hermes2D::OGProjection< Scalar >:

Static Public Member Functions

static void project_global (SpaceSharedPtr< Scalar > space, MatrixFormVol< Scalar > *custom_projection_jacobian, VectorFormVol< Scalar > *custom_projection_residual, Scalar *target_vec)
 This method allows to specify your own OG-projection form.
 
static void project_global (SpaceSharedPtr< Scalar > space, MatrixFormVol< Scalar > *custom_projection_jacobian, VectorFormVol< Scalar > *custom_projection_residual, MeshFunctionSharedPtr< Scalar > target_sln)
 Wrapper that delivers a Solution instead of a coefficient vector.
 
static void project_global (const std::vector< SpaceSharedPtr< Scalar > > spaces, const std::vector< MatrixFormVol< Scalar > * > &custom_projection_jacobian, const std::vector< VectorFormVol< Scalar > * > &custom_projection_residual, Scalar *target_vec)
 This method allows to specify your own multiple OG-projection forms.
 
static void project_global (const std::vector< SpaceSharedPtr< Scalar > > spaces, const std::vector< MatrixFormVol< Scalar > * > &custom_projection_jacobian, const std::vector< VectorFormVol< Scalar > * > &custom_projection_residual, const std::vector< MeshFunctionSharedPtr< Scalar > > &target_slns)
 Wrapper that delivers a vector of Solutions instead of a coefficient vector.
 
static void project_global (SpaceSharedPtr< Scalar > space, MeshFunctionSharedPtr< Scalar > source_meshfn, Scalar *target_vec, NormType proj_norm=HERMES_UNSET_NORM)
 
static void project_global (SpaceSharedPtr< Scalar > space, MeshFunctionSharedPtr< Scalar > source_meshfn, Hermes::Algebra::Vector< Scalar > *target_vec, NormType proj_norm=HERMES_UNSET_NORM)
 
static void project_global (SpaceSharedPtr< Scalar > space, MeshFunctionSharedPtr< Scalar > source_sln, MeshFunctionSharedPtr< Scalar > target_sln, NormType proj_norm=HERMES_UNSET_NORM)
 Wrapper that delivers a Solution instead of coefficient vector.
 
static void project_global (std::vector< SpaceSharedPtr< Scalar > > spaces, std::vector< MeshFunctionSharedPtr< Scalar > > source_meshfns, Scalar *target_vec, std::vector< NormType > proj_norms=std::vector< NormType >())
 Wrapper for multiple source MeshFunctions that delivers coefficient vector.
 
static void project_global (std::vector< SpaceSharedPtr< Scalar > > spaces, std::vector< MeshFunctionSharedPtr< Scalar > > source_meshfns, Hermes::Algebra::Vector< Scalar > *target_vec, std::vector< NormType > proj_norms=std::vector< NormType >())
 
static void project_global (std::vector< SpaceSharedPtr< Scalar > > spaces, std::vector< MeshFunctionSharedPtr< Scalar > > source_slns, std::vector< MeshFunctionSharedPtr< Scalar > > target_slns, std::vector< NormType > proj_norms=std::vector< NormType >(), bool delete_old_mesh=false)
 

Static Protected Member Functions

static void project_internal (SpaceSharedPtr< Scalar > space, WeakFormSharedPtr< Scalar > proj_wf, Scalar *target_vec)
 

Detailed Description

template<typename Scalar>
singleton Hermes::Hermes2D::OGProjection< Scalar >

Class for (global) orthogonal projecting. If the projection is not necessary (if a solution belongs to the space), then its solution vector is used.

Definition at line 29 of file ogprojection.h.

Member Function Documentation

template<typename Scalar >
void Hermes::Hermes2D::OGProjection< Scalar >::project_internal ( SpaceSharedPtr< Scalar >  space,
WeakFormSharedPtr< Scalar >  proj_wf,
Scalar *  target_vec 
)
staticprotected

Underlying function for global orthogonal projection. Not intended for the user. NOTE: the weak form here must be a special projection weak form, which is different from the weak form of the PDE. If you supply a weak form of the PDE, the PDE will just be solved.

Definition at line 25 of file ogprojection.cpp.


The documentation for this singleton was generated from the following files: