|
virtual bool | continuous () const |
| returns if provided data is continuous over geometric object boundaries More...
|
|
template<int refDim> |
void | eval_and_deriv (MathVector< dim > 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< MathVector< dim > > > vvvDeriv[], const MathMatrix< refDim, dim > *vJT=NULL) const |
|
| GridFunctionGradientData (SmartPtr< TGridFunction > spGridFct, const char *cmp) |
| constructor More...
|
|
virtual void | compute (LocalVector *u, GridObject *elem, const MathVector< dim > vCornerCoords[], bool bDeriv=false) |
| compute values (and derivatives iff compDeriv == true) More...
|
|
virtual void | compute (LocalVectorTimeSeries *u, GridObject *elem, const MathVector< dim > vCornerCoords[], bool bDeriv=false) |
| compute values (and derivatives iff compDeriv == true, but only for the 'current' time point) More...
|
|
void | eval_deriv (LocalVector *u, GridObject *elem, const MathVector< dim > vCornerCoords[], bool bDeriv=false) |
|
void | eval_deriv (LocalVectorTimeSeries *u, GridObject *elem, const MathVector< dim > vCornerCoords[], bool bDeriv=false) |
|
void | evaluate (MathVector< TGridFunction::dim > 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, const MathMatrix< refDim, dim > *vJT=NULL) const |
|
virtual void | operator() (MathVector< TGridFunction::dim > &value, const MathVector< dim > &globIP, number time, int si) const |
| returns value for a global position More...
|
|
virtual void | operator() (MathVector< TGridFunction::dim > vValue[], const MathVector< dim > vGlobIP[], number time, int si, const size_t nip) const |
| returns value for global positions More...
|
|
| StdDependentUserData () |
|
| StdDependentUserData (const char *symbFct) |
|
| StdDependentUserData (const std::string &symbFct) |
|
| StdDependentUserData (const std::vector< std::string > &symbFct) |
|
virtual TRet | operator() (TData &value, const MathVector< dim > &globIP, number time, int si) const =0 |
| returns value for a global position More...
|
|
virtual void | operator() (TData vValue[], const MathVector< dim > vGlobIP[], number time, int si, const size_t nip) const =0 |
| returns value for global positions More...
|
|
virtual void | operator() (TData vValue[], const MathVector< dim > vGlobIP[], number time, int si, GridObject *elem, const MathVector< dim > vCornerCoords[], const MathVector< 1 > vLocIP[], const size_t nip, LocalVector *u, const MathMatrix< 1, dim > *vJT=NULL) const |
|
virtual void | operator() (TData vValue[], const MathVector< dim > vGlobIP[], number time, int si, GridObject *elem, const MathVector< dim > vCornerCoords[], const MathVector< 2 > vLocIP[], const size_t nip, LocalVector *u, const MathMatrix< 2, dim > *vJT=NULL) const |
|
virtual void | operator() (TData vValue[], const MathVector< dim > vGlobIP[], number time, int si, GridObject *elem, const MathVector< dim > vCornerCoords[], const MathVector< 3 > vLocIP[], const size_t nip, LocalVector *u, const MathMatrix< 3, dim > *vJT=NULL) const |
|
bool | defined (size_t s, size_t ip) const |
| returns flag, if data is evaluated (for conditional data) More...
|
|
size_t | num_ip (size_t s) const |
| returns the number of integration points More...
|
|
size_t | num_series () const |
| explicitly forward some functions More...
|
|
void | register_storage_callback (DataImport< TData, dim > *obj, void(DataImport< TData, dim >::*func)()) |
| register external callback, invoked when data storage changed More...
|
|
void | unregister_storage_callback (DataImport< TData, dim > *obj) |
| register all callbacks registered by class More...
|
|
TData & | value (size_t s, size_t ip) |
| returns the value at ip More...
|
|
const TData & | value (size_t s, size_t ip) const |
| returns the value at ip More...
|
|
TData * | values (size_t s) |
| returns all values for a series More...
|
|
const TData * | values (size_t s) const |
| returns all values for a series More...
|
|
| ~CplUserData () |
| destructor More...
|
|
bool | at_current_time (size_t s) const |
| returns true iff the time point specification is equal to the current one, or not specified More...
|
|
virtual void | check_setup () const |
| returns if the dependent data is ready for evaluation More...
|
|
void | clear () |
| clear all data More...
|
|
virtual bool | constant () const |
| returns if data is constant More...
|
|
int | dim_local_ips () const |
| returns current local ip dimension More...
|
|
| ICplUserData () |
| default constructor More...
|
|
const MathVector< dim > & | ip (size_t s, size_t ip) const |
| returns global ip More...
|
|
const MathVector< dim > * | ips (size_t s) const |
| returns global ips More...
|
|
template<int ldim> |
const MathVector< ldim > & | local_ip (size_t s, size_t ip) const |
| returns local ip More...
|
|
template<int ldim> |
const MathVector< ldim > * | local_ips (size_t s) const |
| returns local ips More...
|
|
virtual SmartPtr< ICplUserData > | needed_data (size_t i) |
| return needed data More...
|
|
size_t | num_ip (size_t s) const |
| returns the number of integration points More...
|
|
virtual size_t | num_needed_data () const |
| number of other Data this data depends on More...
|
|
size_t | num_series () const |
| returns the number of ip series More...
|
|
template<int ldim> |
size_t | register_local_ip_series (const MathVector< ldim > *vPos, const size_t numIP, bool bMayChange=true) |
| set local positions without the specification of the time point, returns series id More...
|
|
template<int ldim> |
size_t | register_local_ip_series (const MathVector< ldim > *vPos, const size_t numIP, const int timePointSpec, bool bMayChange=true) |
| set local positions, returns series id More...
|
|
void | set_global_ips (size_t s, const MathVector< dim > *vPos, size_t numIP) |
| set global positions More...
|
|
template<int ldim> |
void | set_local_ips (const size_t seriesId, const MathVector< ldim > *vPos, const size_t numIP) |
| sets new local ip positions for a local ip series More...
|
|
void | set_subset (int si) |
| set the subset of evaluation More...
|
|
void | set_time_point (const size_t seriesId, const int timePointSpec) |
| sets a new time point for a local ip series More...
|
|
void | set_time_point (size_t timePoint) |
| sets the current time point More...
|
|
void | set_times (const std::vector< number > &vTime) |
| set evaluation time More...
|
|
int | subset () const |
| returns the subset of evaluation More...
|
|
number | time () const |
| get the current evaluation time More...
|
|
number | time (size_t s) const |
| get the specified evaluation time More...
|
|
size_t | time_point () |
| returns the current time point More...
|
|
size_t | time_point (size_t s) const |
| returns the time point specification (in particular, the current one, if the own one not specified) More...
|
|
int | time_point_specification (size_t s) const |
| returns the time point specification (note: it may be -1, i.e. not specified) More...
|
|
virtual void | update_dof_sizes (const LocalIndices &ind) |
| resize arrays More...
|
|
virtual bool | zero_derivative () const |
| returns if data depends on solution More...
|
|
virtual | ~ICplUserData () |
| virtual desctructor More...
|
|
const FunctionGroup & | function_group () const |
| Function Group of functions. More...
|
|
const FunctionIndexMapping & | map () const |
| get function mapping More...
|
|
size_t | num_fct () const |
| number of functions this export depends on More...
|
|
const char * | obj_name () |
| gets the name of the object (s. the field m_objName) More...
|
|
virtual void | set_function_pattern (ConstSmartPtr< FunctionPattern > fctPatt) |
| sets the function pattern for a possibly needed grid function More...
|
|
void | set_obj_name (const char *name) |
| sets the name of the object (s. the field m_objName) More...
|
|
virtual | ~UserDataInfo () |
| virtual destructor More...
|
|
int | get_dim () const |
| returns dimension More...
|
|
virtual void | operator() (TData &value, const MathVector< dim > &globIP, number time, int si, Vertex *vrt) const |
| returns a value at a vertex More...
|
|
virtual bool | requires_grid_fct () const=0 |
| returns if grid function is needed for evaluation More...
|
|
std::string | type () const |
| returns type of data as string (e.g. "Number", "Vector", "Matrix") More...
|
|
void | operator() (TData &value, const MathVector< dim > &globIP, number time, int si, GridObject *elem, const MathVector< dim > vCornerCoords[], const MathVector< 1 > &locIP, LocalVector *u) const |
|
void | operator() (TData &value, const MathVector< dim > &globIP, number time, int si, GridObject *elem, const MathVector< dim > vCornerCoords[], const MathVector< 2 > &locIP, LocalVector *u) const |
|
void | operator() (TData &value, const MathVector< dim > &globIP, number time, int si, GridObject *elem, const MathVector< dim > vCornerCoords[], const MathVector< 3 > &locIP, LocalVector *u) const |
|
template<typename TGridFunction>
class ug::GridFunctionGradientData< TGridFunction >
Class for StdDependentUserData interface to the gradient of scalar values from GridFunction objects.
This class provides a StdDependentUserData interface to the gradient of scalar values from GridFunction objects so that they can be used in import parameters. Note that the GridFunction object must have the same FunctionPattern as the owner of the import parameter.
REMARK: This class is used to reuse the unknowns of variables of discretizations. It provides "derivatives w.r.t. the unknowns", too. Note that in this case the GridFunction object must be the same as the solution. An attempt to use a grid function based on a different ApproximationSpace would lead to errors. Consider ExplicitGridFunctionGradient for this purpose instead.