ug4
|
Base class for data import. More...
#include <data_import.h>
Public Member Functions | |
virtual void | add_jacobian (LocalMatrix &J, const number scale)=0 |
add jacobian entries introduced by this import More... | |
virtual void | check_setup ()=0 |
checks if ready for evaluation More... | |
virtual void | clear_ips ()=0 |
removes the positions More... | |
virtual void | compute_lin_defect (LocalVector &u)=0 |
compute lin defect More... | |
const FunctionIndexMapping & | conn_map () const |
get function mapping of dependent data More... | |
virtual bool | constant () const =0 |
returns if data is constant More... | |
virtual SmartPtr< ICplUserData< dim > > | data ()=0 |
returns the connected user data More... | |
virtual bool | data_given () const =0 |
returns if data is set More... | |
IDataImport (bool compLinDefect=true) | |
Constructor. More... | |
const FunctionIndexMapping & | map () const |
get function mapping More... | |
size_t | num_fct () const |
number of functions More... | |
DiscPart | part () const |
returns if import is located in mass part (for time dependent problems) More... | |
void | set_comp_lin_defect (bool b) |
sets if lin defect is to be computed More... | |
void | set_expl_part () |
set to explicit part More... | |
void | set_map (const FunctionIndexMapping &map) |
set function group for linearization of defect More... | |
void | set_mass_part () |
sets if import is located in mass part (for time dependent problems) More... | |
void | set_none_part () |
set to no part More... | |
void | set_part (DiscPart part) |
sets part of import More... | |
void | set_rhs_part () |
sets if import is located in rhs part More... | |
virtual void | set_roid (ReferenceObjectID id)=0 |
sets the geometric object type More... | |
void | set_stiff_part () |
sets if import is located in stiff part (default) More... | |
virtual void | update_dof_sizes (const LocalIndices &ind)=0 |
resize arrays More... | |
bool | zero_derivative () const |
returns if data depends on unknown functions More... | |
virtual | ~IDataImport () |
Protected Attributes | |
bool | m_bCompLinDefect |
indicates iff lin defect should be computed More... | |
FunctionIndexMapping | m_map |
Mapping for import fct. More... | |
DiscPart | m_part |
flag to indicate where import is located More... | |
SmartPtr< ICplUserData< dim > > | m_spICplUserData |
connected iexport More... | |
Base class for data import.
An IDataImport is the base class for importing data to ElemDiscs
|
inline |
Constructor.
|
inlinevirtual |
|
pure virtual |
add jacobian entries introduced by this import
Implemented in ug::DataImport< TData, dim >, ug::DataImport< ug::MathMatrix< dim, dim >, dim >, ug::DataImport< ug::MathVector< dim >, dim >, and ug::DataImport< number, dim >.
|
pure virtual |
checks if ready for evaluation
Implemented in ug::DataImport< TData, dim >, ug::DataImport< ug::MathMatrix< dim, dim >, dim >, ug::DataImport< ug::MathVector< dim >, dim >, and ug::DataImport< number, dim >.
|
pure virtual |
removes the positions
Implemented in ug::DataImport< TData, dim >, ug::DataImport< ug::MathMatrix< dim, dim >, dim >, ug::DataImport< ug::MathVector< dim >, dim >, and ug::DataImport< number, dim >.
|
pure virtual |
compute lin defect
Implemented in ug::DataImport< TData, dim >, ug::DataImport< ug::MathMatrix< dim, dim >, dim >, ug::DataImport< ug::MathVector< dim >, dim >, and ug::DataImport< number, dim >.
|
inline |
get function mapping of dependent data
References ug::IDataImport< dim >::m_spICplUserData.
|
pure virtual |
returns if data is constant
This method, returns if the connected data is constant.
Implemented in ug::DataImport< TData, dim >, ug::DataImport< ug::MathMatrix< dim, dim >, dim >, ug::DataImport< ug::MathVector< dim >, dim >, and ug::DataImport< number, dim >.
|
pure virtual |
returns the connected user data
Implemented in ug::DataImport< TData, dim >, ug::DataImport< ug::MathMatrix< dim, dim >, dim >, ug::DataImport< ug::MathVector< dim >, dim >, and ug::DataImport< number, dim >.
Referenced by ug::DataEvaluatorBase< TDomain, TElemDisc >::extract_imports_and_userdata(), and ug::DataEvaluator< TDomain >::finish_elem_loop().
|
pure virtual |
returns if data is set
Implemented in ug::DataImport< TData, dim >, ug::DataImport< ug::MathMatrix< dim, dim >, dim >, ug::DataImport< ug::MathVector< dim >, dim >, and ug::DataImport< number, dim >.
Referenced by ug::DataEvaluatorBase< TDomain, TElemDisc >::extract_imports_and_userdata(), and ug::DataEvaluator< TDomain >::finish_elem_loop().
|
inline |
get function mapping
References ug::IDataImport< dim >::m_map.
Referenced by ug::DataImport< TData, dim >::compute_lin_defect(), and ug::IDataImport< dim >::set_map().
|
inline |
number of functions
References ug::IDataImport< dim >::m_map, and ug::FunctionIndexMapping::num_fct().
|
inline |
returns if import is located in mass part (for time dependent problems)
References ug::IDataImport< dim >::m_part.
Referenced by ug::DataEvaluatorBase< TDomain, TElemDisc >::extract_imports_and_userdata(), and ug::IDataImport< dim >::set_part().
|
inline |
sets if lin defect is to be computed
References ug::IDataImport< dim >::m_bCompLinDefect.
|
inline |
set to explicit part
References ug::EXPL, and ug::IDataImport< dim >::m_part.
|
inline |
set function group for linearization of defect
References ug::IDataImport< dim >::m_map, and ug::IDataImport< dim >::map().
|
inline |
sets if import is located in mass part (for time dependent problems)
References ug::IDataImport< dim >::m_part, and ug::MASS.
|
inline |
set to no part
References ug::IDataImport< dim >::m_part, and ug::NONE.
|
inline |
sets part of import
References ug::IDataImport< dim >::m_part, and ug::IDataImport< dim >::part().
|
inline |
sets if import is located in rhs part
References ug::IDataImport< dim >::m_part, and ug::RHS.
|
pure virtual |
sets the geometric object type
Implemented in ug::DataImport< TData, dim >, ug::DataImport< ug::MathMatrix< dim, dim >, dim >, ug::DataImport< ug::MathVector< dim >, dim >, and ug::DataImport< number, dim >.
|
inline |
sets if import is located in stiff part (default)
References ug::IDataImport< dim >::m_part, and ug::STIFF.
|
pure virtual |
resize arrays
Implemented in ug::DataImport< TData, dim >, ug::DataImport< ug::MathMatrix< dim, dim >, dim >, ug::DataImport< ug::MathVector< dim >, dim >, and ug::DataImport< number, dim >.
|
inline |
returns if data depends on unknown functions
This method returns if the data depends on the unknown functions.
References ug::IDataImport< dim >::m_bCompLinDefect, and ug::IDataImport< dim >::m_spICplUserData.
Referenced by ug::DataEvaluatorBase< TDomain, TElemDisc >::extract_imports_and_userdata().
|
protected |
indicates iff lin defect should be computed
Referenced by ug::IDataImport< dim >::set_comp_lin_defect(), and ug::IDataImport< dim >::zero_derivative().
|
protected |
Mapping for import fct.
Referenced by ug::IDataImport< dim >::map(), ug::IDataImport< dim >::num_fct(), and ug::IDataImport< dim >::set_map().
|
protected |
flag to indicate where import is located
Referenced by ug::IDataImport< dim >::part(), ug::IDataImport< dim >::set_expl_part(), ug::IDataImport< dim >::set_mass_part(), ug::IDataImport< dim >::set_none_part(), ug::IDataImport< dim >::set_part(), ug::IDataImport< dim >::set_rhs_part(), and ug::IDataImport< dim >::set_stiff_part().
|
protected |
connected iexport
Referenced by ug::IDataImport< dim >::conn_map(), and ug::IDataImport< dim >::zero_derivative().