17#ifndef __H__UG__PLUGINS__D3F_VAL_SURF_PROJ_H__
18#define __H__UG__PLUGINS__D3F_VAL_SURF_PROJ_H__
42template <
typename TGr
idFunction>
51 static const int dim = gf_type::dim;
105 template <
int refDim>
119 std::vector<std::vector<number> > vvvDeriv[],
parameterString s
Definition Biogas.lua:2
Definition val_surf_proj.h:45
std::vector< number > m_vrt_val
projected values at the vertices of the subsets
Definition val_surf_proj.h:136
virtual bool requires_grid_fct() const
Returns true to get the grid element in the evaluation routine.
Definition val_surf_proj.h:102
Attachment< size_t > num_a_type
type of the attachment numbering the vertices
Definition val_surf_proj.h:70
void set_default_value(number defaultValue)
sets the default value for the points with no projection
Definition val_surf_proj.h:88
Grid::VertexAttachmentAccessor< num_a_type > num_aa_type
type of the attachment accessor for the numbering attachment
Definition val_surf_proj.h:73
TGridFunction gf_type
type of the grid function
Definition val_surf_proj.h:48
GlobalGridFunctionNumberData< TGridFunction > glob_userdata_type
type of the class for getting the values of a grid function by a global coordinate
Definition val_surf_proj.h:67
void eval_and_deriv(number vValue[], const MathVector< dim > vGlobIP[], number time, int si, GridObject *elem, const MathVector< dim > vCornerCoords[], const MathVector< refDim > vLocIP[], const size_t nip, LocalVector *u, bool bDeriv, int s, std::vector< std::vector< number > > vvvDeriv[], const MathMatrix< refDim, dim > *vJT=NULL)
Performs the main computations:
Definition val_surf_proj_impl.h:142
StdDependentUserData< this_type, number, dim > base_type
the base type
Definition val_surf_proj.h:57
number m_default_value
the default value if the projection point not found
Definition val_surf_proj.h:133
glob_userdata_type m_glob_userdata
the object to get the values by the global coordinates
Definition val_surf_proj.h:131
ValSurfProjData< gf_type > this_type
this type
Definition val_surf_proj.h:54
virtual bool continuous() const
We consider here the height as a continuous field (although it is not completely so)
Definition val_surf_proj.h:99
SmartPtr< gf_type > m_spLSF
the grid function
Definition val_surf_proj.h:127
number m_z_coord
the z-coordinate of the plain to get the values at
Definition val_surf_proj.h:129
num_a_type m_a_vrt_num
attachment keeping a numbering of the vertices in the subsets
Definition val_surf_proj.h:135
SubsetGroup m_SsGrp
(low-dimensional) subsets to compute the coordinates over
Definition val_surf_proj.h:125
static const int dim
world dimension
Definition val_surf_proj.h:51
void reinit()
Initializer (should be called before every use)
Definition val_surf_proj_impl.h:49
domain_type::position_accessor_type pos_acc_type
position attachment accessor type
Definition val_surf_proj.h:63
gf_type::domain_type domain_type
domain type
Definition val_surf_proj.h:60