ug4
|
Typedefs | |
typedef boost::mpl::list< end_boost_list > | CompileAlgebraList |
typedef boost::mpl::list<> | CompileDomainList |
typedef boost::function< void(Registry *pReg)> | FuncRegistryChanged |
declaration of registry callback function. More... | |
typedef SmartPtr< SmartTest > | SPSmartTest |
typedef SmartPtr< SmartTestDerived > | SPSmartTestDerived |
Functions | |
string | Add (const char *a, const char *b) |
int | Add (int a, int b) |
int | Add (int a, int b, int c) |
template<class TClass > | |
void | CastAndDelete (const void *ptr) |
Performs a reinterpret cast on the given pointer, then calls delete on it. More... | |
template<> | |
void | CastAndDelete< void > (const void *ptr) |
string | ClassHierarchyString (const Registry ®, const char *classname) |
string | ClassInfo (const IExportedClass &c) |
Prints the (const) method of one class. More... | |
string | ClassInfo (const Registry ®, const char *classname) |
bool | ClassInstantiations (const char *classname) |
this function prints all objects which are of a certain class More... | |
bool | ClassNameTreeContains (const ClassNameNode &node, const std::string &name) |
returns if a name is contained in the name tree at node or in base classes More... | |
bool | ClassNameTreeWay (std::vector< size_t > &vWay, const ClassNameNode &node, const std::string &name) |
bool | ClassNameVecContains (const std::vector< const char * > &names, const std::string &name) |
returns if a name is contained in the name vector More... | |
string | ClassUsage (const char *classname) |
string | ClassUsageExact (const Registry ®, const char *classname, bool OutParameters) |
int | CompletionFunction (char *buf, int len, int buflen, int iPrintCompletionList) |
A function to implement word completion of classes and functions of ugscript When entered Dom<tab>, it completes to Domain2d, for example. If Domain2d and Domain3d are registered, it completes to Domain and shows suggestions Domain2d and Domain3d. currently only works with Linenoise. todo: - not all completions must have same snipped length. change. More... | |
string | ConstructorInfo (const ExportedConstructor &constr, const char *classname, const char *highlightclassname) |
int | ConstSmartTestFunc (ConstSmartPtr< Test > test) |
ConstSmartPtr< Test > | ConstSmartTestImpl () |
template<typename T > | |
void | ConstStdVectorRefOfClass (const std::vector< T > &vec) |
int | ConstTestFunc (const Test &t) |
calls const print on const object of class Test More... | |
int | convert (const char *functionName) |
int | convertVM (const char *functionName) |
const FurtherDerived * | CreateConstFurtherDerived () |
bool | CreateHierarchy (MultiGrid &mg, size_t numRefs) |
bool | CreateSmoothHierarchy (MultiGrid &mg, size_t numRefs) |
debug_return | DebugShell () |
template<typename TClass > | |
void | DestructorProxy (void *obj) |
void | EnableLUA2C (bool b) |
void | EnableLUA2VM (bool b) |
static void | errlog (const char *msg) |
static int | ExecuteSystemCommand (const char *cmd) |
void | ExtractClassNameVec (std::vector< const char * > &names, const ClassNameNode &node, bool clearVec=true) |
returns the vector containing all names in the name tree for node and its base classes More... | |
string | FilenameStringEscape (string s) |
const ExportedFunction * | FindFunction (const Registry ®, const char *functionname) |
string | FunctionInfo (const ExportedFunctionBase &thefunc, bool isConst, const char *classname, const char *highlightclassname, bool bPrintHelp) |
string | FunctionInfo (const Registry ®, const char *functionname) |
string | FunctionInfo (lua_State *L, bool bComplete, const char *functionName=NULL) |
prints out information for a lua function (a function defined in lua script) More... | |
template<typename TAlgebra > | |
std::string | GetAlgebraSuffix () |
returns the algebra-suffix (e.g. "CPU3", "CPUFlex") More... | |
template<typename TAlgebraTypeType > | |
std::string | GetAlgebraSuffix (const TAlgebraTypeType &algType) |
returns the algebra-suffix (e.g. "CPU3", "CPUFlex") More... | |
template<typename TAlgebra > | |
std::string | GetAlgebraTag () |
returns the algebra-suffix (e.g. "alg=CPU3", "alg=CPUVariable") More... | |
template<typename TAlgebraTypeType > | |
std::string | GetAlgebraTag (const TAlgebraTypeType &algType) |
returns the algebra-suffix (e.g. "alg=CPU3", "alg=CPUVariable") More... | |
static string | GetAppsPath () |
static string | GetBinPath () |
string | GetBuildHostname () |
static size_t | GetClassesCompletitions (char *buf, int len, std::vector< string > &matches, size_t &sniplen, int iPrintCompletionList) |
void | GetClassHierarchy (ClassHierarchy &hierarchy, const Registry ®) |
template<typename TClass > | |
const char * | GetClassName () |
const ClassNameNode * | GetClassNameNode (lua_State *L, int index) |
const std::vector< const char * > * | GetClassNames (lua_State *L, const char *name) |
const std::vector< const char * > * | GetClassNames (lua_State *L, int index) |
double | GetClockS () |
string | GetCompileDate () |
static string | GetCurrentPath () |
template<int dim, typename TAlgebra > | |
std::string | GetDimensionAlgebraSuffix () |
returns the algebra-dim-suffix for a domain (e.g. "3dCPU1") More... | |
template<int dim, typename TAlgebra > | |
std::string | GetDimensionAlgebraTag () |
returns the dim-tag for a domain (e.g. "dim=3d;alg=CPU1;") More... | |
template<typename TAlgebraTypeType > | |
std::string | GetDimensionAlgebraTag (int dim, const TAlgebraTypeType &algType) |
returns dim tag at runtime (e.g. "dim=3d;alg=CPU1;") More... | |
template<int dim> | |
std::string | GetDimensionSuffix () |
returns the dim-suffix for a domain (e.g. "3d") More... | |
template<int dim> | |
std::string | GetDimensionTag () |
returns the dim-tag for a domain (e.g. "dim=3d") More... | |
std::string | GetDimensionTag (int dim) |
returns dim tag at runtime (e.g. "dim=3d") More... | |
std::vector< std::string > | GetDirsInDir (const char *dir) |
template<typename TDomain , typename TAlgebra > | |
std::string | GetDomainAlgebraSuffix () |
returns the dim-suffix for a domain (e.g. "3dCPU1") More... | |
template<typename TDomain , typename TAlgebra > | |
std::string | GetDomainAlgebraTag () |
returns the dim-tag for a domain (e.g. "dim=3d;alg=CPU1;") More... | |
template<typename TDomain > | |
std::string | GetDomainSuffix () |
returns the dim-suffix for a domain (e.g. "3d") More... | |
template<typename TDomain > | |
std::string | GetDomainTag () |
returns the dim-tag for a domain (e.g. "dim=3d") More... | |
string | GetFileLinesLUA (const char *filename, size_t fromline, size_t toline) |
std::vector< std::string > | GetFilesInDir (const char *dir) |
string | GetGITRevision () |
static bool | GetGlobalFunctionInfo (char *buf, int len) |
static size_t | GetGlobalsCompletitions (char *buf, int len, std::vector< string > &matches, size_t &sniplen, int iPrintCompletionList) |
uint32 | GetLogAssistantTag (const char *s) |
std::string | GetLuaFileAndLine (lua_State *L) |
returns the current file and line ( More... | |
bool | GetLuaFileAndLine (lua_State *L, std::string &file, size_t &line) |
returns the current file and line ( More... | |
std::string | GetLuaFileAndLineNumber (lua_State *L) |
returns the current file and line-number More... | |
void | GetLuaGlobal_classInstantiations (std::vector< std::string > &classInstantiations) |
void | GetLuaGlobal_functions (std::vector< std::string > &functions) |
void | GetLuaGlobal_internalFunctions (std::vector< std::string > &internalFunctions) |
void | GetLuaGlobal_luaObjects (std::vector< std::string > &luaObjects) |
void | GetLuaGlobal_scriptFunctions (std::vector< std::string > &scriptFunctions) |
void | GetLuaGlobals (std::vector< std::string > *functions, std::vector< std::string > *internalFunctions, std::vector< std::string > *scriptFunctions, std::vector< std::string > *luaObjects, std::vector< std::string > *classInstantiations) |
function to list all objects of the default LUA state More... | |
std::string | GetLuaLine (lua_State *L) |
returns the current line-content More... | |
UG_API bool | GetLuaNamespace (lua_State *L, std::string name) |
bool | GetLuaNamespace (lua_State *L, string name) |
searches for a namespaces (lists) and pushes it onto the stack More... | |
string | GetLUAScriptFunctionDefined (const char *functionName) |
returns file and line of defined script function More... | |
string | GetLuaTypeString (lua_State *L, int index) |
static size_t | GetMemberFunctionCompletitions (char *buf, int len, std::vector< string > &matches, size_t &sniplen) |
static bool | GetMemberFunctionInfo (char *buf, int len) |
static size_t | GetNamespaceCompletitions (char *buf, int len, std::vector< string > &matches, size_t &sniplen, int iPrintCompletionList) |
string | GetOperatingSystem () |
static size_t | GetOtherCompletitions (char *buf, int len, std::vector< string > &matches, size_t &sniplen) |
size_t | GetPathCompletitions (char *buf, int len, std::vector< string > &matches, size_t &sniplen) |
static string | GetRootPath () |
static string | GetScriptPath () |
string | GetSVNRevision () |
int | GetUGDim () |
returns the dimension to which UG was initialized through InitUG More... | |
Registry & | GetUGRegistry () |
returns the default registry used in ug More... | |
void | InitBridge () |
calls RegisterStandardInterfaces More... | |
void | InitShell () |
void | InitSignals () |
void | InitUG (int dim, const AlgebraType &algebraType) |
Sets the default classes of class-groups based on a tags using default DoFManager. More... | |
void | InitUG (int dim, const AlgebraType &algType, bool verbose) |
Sets the default classes of class-groups based on a tags. More... | |
void | InitUGPlugin_SuperLU6 (Registry *reg, string grp) |
void | int_srand (int seed) |
bool | IsClassInParameters (const ParameterInfo &par, const char *classname) |
bool | IsDefinedBLAS_AVAILABLE () |
bool | IsDefinedLAPACK_AVAILABLE () |
bool | IsDefinedPCL_DEBUG_BARRIER_ENABLED () |
bool | IsDefinedPROFILE_PCL () |
bool | IsDefinedUG_ALGEBRA () |
bool | IsDefinedUG_BRIDGE () |
bool | IsDefinedUG_CPU_1 () |
bool | IsDefinedUG_CPU_2 () |
bool | IsDefinedUG_CPU_3 () |
bool | IsDefinedUG_CPU_4 () |
bool | IsDefinedUG_CPU_5 () |
bool | IsDefinedUG_CPU_6 () |
bool | IsDefinedUG_CPU_VAR () |
bool | IsDefinedUG_DEBUG () |
bool | IsDefinedUG_DIM_1 () |
bool | IsDefinedUG_DIM_2 () |
bool | IsDefinedUG_DIM_3 () |
bool | IsDefinedUG_ENABLE_DEBUG_LOGS () |
bool | IsDefinedUG_FOR_VRL () |
bool | IsDefinedUG_HLIBPRO () |
bool | IsDefinedUG_HYPRE () |
bool | IsDefinedUG_JSON () |
bool | IsDefinedUG_PARALLEL () |
bool | IsDefinedUG_PLUGINS () |
bool | IsDefinedUG_PROFILER () |
bool | IsDefinedUG_STATIC () |
bool | IsDefinedUG_TETGEN () |
template<class T > | |
static bool | IsValidPtr (T *o) |
bool | LoadGrid (Grid &grid, const char *filename) |
bool | LoadGrid (Grid &grid, ISubsetHandler &sh, const char *filename) |
string | LuaClassMethodInfo (lua_State *L, int index, const ExportedMethod &thefunc) |
prints out information for a method of a class More... | |
string | LuaCurrentLine (lua_State *L) |
bool | LuaGetBoolean (lua_State *L, const char *name, bool notAvailable) |
returns a boolean to a lua-variable. More... | |
void | LuaGetLastLine (lua_State *L, lua_Debug entry) |
double | LuaGetNumber (lua_State *L, const char *name, double notAvailable) |
returns an integer to a lua-variable. More... | |
string | LuaGetScriptFunctionString (lua_State *L, int index=-1) |
prints the source of a lua script function which is on top of the stack More... | |
string | LuaGetString (lua_State *L, const char *name, const char *notAvailable) |
returns the string to a lua-variable. More... | |
void | LuaList () |
void | LuaList_cfunctions () |
void | LuaList_classes () |
void | LuaList_classInstantiations () |
void | LuaList_internalFunctions () |
void | LuaList_luaObjects () |
void | LuaList_scriptFunctions () |
void | LuaPrintTable (lua_State *L, size_t iSpace, int index) |
prints the source of a lua script function which is on top of the stack More... | |
int | LuaStackToParams (ParameterStack &ps, const ParameterInfo &psInfo, lua_State *L, int offsetToFirstParam=0) |
copies parameter values from the lua-stack to a parameter-list. More... | |
void | LuaStackTrace (int fromlevel) |
prints information about lua's call stack (file:line source). More... | |
std::string | LuaStackTraceString () |
string | LuaStackTraceString (lua_State *L, int fromLevel=0, int toLevel=-1) |
prints information about lua's call stack (file:line source). More... | |
string | LUAStringEscape (string s) |
void | LuaWrite (const char *filename, const char *obj) |
void | LuaWriteCout (const char *obj) |
void | NonAllowedFct1 () |
void | NonAllowedFct2 () |
void | NonAllowedFct3 () |
void | NotAllowedParamPerValue (Piece P) |
template<typename T > | |
static T | ParallelMax (T t) |
template<typename T > | |
static T | ParallelMin (T t) |
template<typename T > | |
static T | ParallelSum (T t) |
template<typename T > | |
static vector< T > | ParallelVecMax (const vector< T > &t) |
template<typename T > | |
static vector< T > | ParallelVecMin (const vector< T > &t) |
template<typename T > | |
static vector< T > | ParallelVecSum (const vector< T > &t) |
string | ParameterToString (const ParameterInfo &par, int i) |
Gets a description of the i-th parameter of a ParameterStack todo: perhaps this function would be better somewhere else like in parameter_stack.cpp. More... | |
template<typename T > | |
static void | ParamStackEntryToLuaStack (const ParameterStack &ps, lua_State *L, int index, bool bIsVector) |
template<typename T > | |
static void | ParamStackPointerEntryToLuaStack (const ParameterStack &ps, lua_State *L, int index, bool bIsVector) |
int | ParamsToLuaStack (const ParameterStack &ps, lua_State *L) |
Pushes the parameter-values to the Lua-Stack. More... | |
static bool | PclAllProcsTrue (bool bTrue) |
static void | PclDebugBarrierAll () |
static bool | PclDebugBarrierEnabled () |
void | PostRegisteredFunction () |
void | PostRegisterTest () |
void | print (const std::string &s) |
void | PrintBuildConfiguration () |
prints CMake build parameters in a quite compact (pairwise) form More... | |
void | PrintBuildConfigurationExtended () |
void | PrintClassSubHierarchy (ClassHierarchy &c, int level) |
template<typename T > | |
void | PrintConstStdVectorRef (const std::vector< T > &vec) |
void | PrintFunction (Base &b) |
void | PrintFunction (Base3 &b) |
void | PrintFunction (SmartPtr< Base2 > b) |
void | PrintFunction (SmartPtr< Base3 > b) |
void | PrintFunctionIntermediate (Intermediate0 &b) |
void | PrintFunctionIntermediate (SmartPtr< Intermediate1 > b) |
void | PrintHelloWorldToScreen () |
template<typename T > | |
string | PrintParametersIn (const T &thefunc, const char *highlightclassname) |
string | PrintParametersOut (const ExportedFunctionBase &thefunc) |
template<typename T > | |
void | PrintStdVector (std::vector< T > vec) |
template<typename T > | |
void | PrintStdVectorOfClass (std::vector< T > vec) |
void | PrintStringTest (const std::string &str) |
template<typename T > | |
static bool | PushLuaStackEntryToParamStack (ParameterStack &ps, lua_State *L, int index, bool bIsVector) |
template<typename T > | |
static bool | PushLuaStackPointerEntryToParamStack (ParameterStack &ps, lua_State *L, int index, const char *baseClassName, bool bIsVector) |
void | RegisterBridge_AdaptiveTools (Registry ®, string grp) |
void | RegisterBridge_AlgebraCommon (Registry ®, string grp) |
void | RegisterBridge_AlgebraOrdering (Registry ®, string grp) |
void | RegisterBridge_ConstrainedLinearIterator (Registry ®, string grp) |
void | RegisterBridge_Constraints (Registry ®, string grp) |
void | RegisterBridge_DiscAlgebra (Registry ®, string grp) |
void | RegisterBridge_DiscCommon (Registry ®, std::string grp=UG4_GRP) |
Registers the common part of lib_discretization. More... | |
void | RegisterBridge_DiscCommon (Registry ®, string parentGroup) |
void | RegisterBridge_Domain (Registry ®, std::string grp=UG4_GRP) |
Registers the domain object and related methods. More... | |
void | RegisterBridge_Domain (Registry ®, string grp) |
void | RegisterBridge_DomainDependentPreconditioner (Registry ®, string grp) |
void | RegisterBridge_DomainDisc (Registry ®, string grp) |
void | RegisterBridge_DomainRayTracing (Registry ®, std::string grp=UG4_GRP) |
Registers methods to perform ray-tracing on domains. More... | |
void | RegisterBridge_DomainRayTracing (Registry ®, string grp) |
void | RegisterBridge_Eigensolver (Registry ®, string grp) |
void | RegisterBridge_ElemDiscs (Registry ®, std::string grp=UG4_GRP) |
Registers the element discretizations. More... | |
void | RegisterBridge_ElemDiscs (Registry ®, string grp) |
void | RegisterBridge_Evaluate (Registry ®, string grp) |
void | RegisterBridge_FiniteVolume (Registry ®, string grp) |
void | RegisterBridge_GPU (Registry ®, string grp) |
void | RegisterBridge_Grid (Registry ®, std::string grp=UG4_GRP) |
registers lib-grid interface methods at the registry. More... | |
void | RegisterBridge_Grid (Registry ®, string parentGroup) |
void | RegisterBridge_GridFunction (Registry ®, string grp) |
void | RegisterBridge_Integrate (Registry ®, string grp) |
void | RegisterBridge_Interpolate (Registry ®, string grp) |
void | RegisterBridge_LoadBalancing (Registry ®, std::string grp=UG4_GRP) |
registers LoadBalancer, partitioners, etc More... | |
void | RegisterBridge_LoadBalancing (Registry ®, string grp) |
void | RegisterBridge_ManifoldUtil (Registry ®, string grp) |
void | RegisterBridge_MaxError (Registry ®, string grp) |
void | RegisterBridge_Misc (Registry ®, std::string grp=UG4_GRP) |
void | RegisterBridge_Misc (Registry ®, string parentGroup) |
void | RegisterBridge_MultiGrid (Registry ®, string grp) |
void | RegisterBridge_Obstacle (Registry ®, string grp) |
void | RegisterBridge_Ordering (Registry ®, string grp) |
void | RegisterBridge_OrthoPoly (Registry ®, std::string grp=UG4_GRP) |
registers orthogonal polynomials More... | |
void | RegisterBridge_Output (Registry ®, string grp) |
void | RegisterBridge_PCL (Registry ®, std::string grp=UG4_GRP) |
registers methods for a parallel environment More... | |
void | RegisterBridge_PCL (Registry ®, string parentGroup) |
void | RegisterBridge_PeriodicBoundary (Registry ®, std::string grp=UG4_GRP) |
Registers periodic boundary identification. More... | |
void | RegisterBridge_PeriodicBoundary (Registry ®, string grp) |
void | RegisterBridge_PILUT (Registry ®, std::string grp) |
void | RegisterBridge_Preconditioner (Registry ®, string grp) |
void | RegisterBridge_Profiler (Registry ®, std::string grp=UG4_GRP) |
registers access to profiling functions at the registry More... | |
void | RegisterBridge_Profiler (Registry ®, string parentGroup) |
void | RegisterBridge_Raster (Registry ®, std::string grp=UG4_GRP) |
registers rasters, e.g. for 1,2,3 dimensional image data or density distributions More... | |
void | RegisterBridge_Raster (Registry ®, string parentGroup) |
void | RegisterBridge_ReferenceMappingTest (Registry ®, std::string grp=UG4_GRP) |
registers reference mapping test functionality (common) More... | |
void | RegisterBridge_ReferenceMappingTest (Registry ®, string grp) |
void | RegisterBridge_Refinement (Registry ®, std::string grp=UG4_GRP) |
Registers refiners and marking methods. More... | |
void | RegisterBridge_Refinement (Registry ®, string grp) |
void | RegisterBridge_Restart (Registry ®, string grp) |
void | RegisterBridge_Schur (Registry ®, string grp) |
void | RegisterBridge_Selection (Registry ®, std::string grp=UG4_GRP) |
Registers methods to perform selections on the elements of a domain. More... | |
void | RegisterBridge_Selection (Registry ®, string grp) |
void | RegisterBridge_Solver (Registry ®, string grp) |
void | RegisterBridge_SuperLU (TRegistry ®, string grp) |
void | RegisterBridge_Test (Registry ®, std::string grp=UG4_GRP) |
registers tests for the interface methods at the registry. More... | |
void | RegisterBridge_Test (Registry ®, string parentGroup) |
void | RegisterBridge_Transform (Registry ®, std::string grp=UG4_GRP) |
Registers methods to transform the vertices of a domain. More... | |
void | RegisterBridge_Transform (Registry ®, string grp) |
void | RegisterBridge_UserData (Registry ®, std::string grp=UG4_GRP) |
registers user data More... | |
void | RegisterBridge_UserData (Registry ®, string grp) |
void | RegisterBridge_Util (Registry ®, std::string grp=UG4_GRP) |
registers some util methods like path-access and script-parsing. More... | |
void | RegisterBridge_Util (Registry ®, string parentGroup) |
void | RegisterBridge_VecMath (Registry ®, std::string grp=UG4_GRP) |
Registers types and functions for 1, 2, 3 and 4 dimensional vector math. More... | |
void | RegisterBridge_VecMath (Registry ®, string parentGroup) |
template<typename Functionality > | |
void | RegisterCommon (Registry ®, std::string grp) |
bool | RegisterConverter (Registry ®, const char *parentGroup) |
template<int dim> | |
static void | RegisterDegeneratedLayerManager (Registry ®, string grp) |
template<typename Functionality > | |
void | RegisterDimension1dDependent (Registry ®, std::string grp) |
template<typename Functionality > | |
void | RegisterDimension2d3dDependent (Registry ®, std::string grp) |
template<typename Functionality > | |
void | RegisterDimension2dDependent (Registry ®, std::string grp) |
template<typename Functionality > | |
void | RegisterDimension3dDependent (Registry ®, std::string grp) |
template<typename Functionality > | |
void | RegisterDimensionDependent (Registry ®, std::string grp) |
template<typename Functionality > | |
void | RegisterDomain1dDependent (Registry ®, std::string grp) |
template<typename Functionality > | |
void | RegisterDomain2d3dDependent (Registry ®, std::string grp) |
template<typename Functionality > | |
void | RegisterDomain2dDependent (Registry ®, std::string grp) |
template<typename Functionality > | |
void | RegisterDomain3dDependent (Registry ®, std::string grp) |
template<int dim> | |
void | RegisterGeometry (Registry ®, string grp) |
void | RegisterGridBridge_Balancing (Registry ®, std::string parentGroup) |
void | RegisterGridBridge_Balancing (Registry ®, string parentGroup) |
void | RegisterGridBridge_Debug (Registry ®, std::string parentGroup) |
void | RegisterGridBridge_Debug (Registry ®, string parentGroup) |
void | RegisterGridBridge_FileIO (Registry ®, std::string parentGroup) |
void | RegisterGridBridge_FileIO (Registry ®, string parentGroup) |
void | RegisterGridBridge_Grid (Registry ®, std::string parentGroup) |
void | RegisterGridBridge_Grid (Registry ®, string parentGroup) |
void | RegisterGridBridge_Layers (Registry ®, std::string parentGroup) |
void | RegisterGridBridge_Layers (Registry ®, string parentGroup) |
void | RegisterGridBridge_Misc (Registry ®, std::string parentGroup) |
void | RegisterGridBridge_Misc (Registry ®, string parentGroup) |
void | RegisterGridBridge_Refinement (Registry ®, std::string parentGroup) |
void | RegisterGridBridge_Refinement (Registry ®, string parentGroup) |
void | RegisterGridBridge_Selector (Registry ®, std::string parentGroup) |
void | RegisterGridBridge_Selector (Registry ®, string parentGroup) |
void | RegisterGridBridge_SubsetHandler (Registry ®, std::string parentGroup) |
void | RegisterGridBridge_SubsetHandler (Registry ®, string parentGroup) |
bool | RegisterInfoCommands (bridge::Registry ®, const char *grp) |
registers info commands TypeInfo, ClassUsage and others More... | |
void | RegisterLuaUserData (Registry ®, std::string grp) |
void | RegisterLuaUserData (Registry ®, string grp) |
template<class TValue , int TDIM> | |
static void | RegisterRaster (Registry ®, string name, string grp) |
template<class TValue , int dim> | |
static void | RegisterRasterUserData (Registry ®, string name, string grp) |
bool | RegisterSerializationCommands (Registry ®, const char *parentGroup) |
UG_API void | RegisterStandardBridges (Registry ®, std::string grp=UG4_GRP) |
registers all standard interfaces. More... | |
void | RegisterStandardBridges (Registry ®, string parentGroup) |
template<typename TData , int dim, typename TTraits = user_data_traits<TData>> | |
void | RegisterUserDataType (Registry ®, string grp) |
template<typename TData , int dim, typename TTraits = user_data_traits<TData>> | |
void | RegisterUserDataTypeA (Registry ®, string grp) |
template<typename TData , int dim, typename TTraits = user_data_traits<TData>> | |
void | RegisterUserDataTypeB (Registry ®, string grp) |
static void | RegisterVecMathBridge_DimIndep (Registry ®, string grp) |
template<typename T > | |
const std::vector< T > & | ReturnConstStdVectorRef_Number () |
const std::vector< std::string > & | ReturnConstStdVectorRef_String () |
template<typename T > | |
const std::vector< T > & | ReturnConstStdVectorRefOfClass () |
template<typename T > | |
const std::vector< T > & | ReturnConstStdVectorRefOfClassSP () |
template<typename T > | |
std::vector< T > | ReturnStdVector_Number () |
std::vector< std::string > | ReturnStdVector_String () |
template<typename T > | |
std::vector< T > | ReturnStdVectorOfClass () |
int | RunShell (const char *prompt) |
bool | SaveGrid (Grid &grid, const char *filename) |
bool | SaveGrid (Grid &grid, const ISubsetHandler &sh, const char *filename) |
bool | SaveGrid (Grid &grid, ISubsetHandler &sh, const char *filename) |
bool | SaveGridHierarchy (MultiGrid &mg, const char *filename) |
bool | ScriptHasClass (const char *classname) |
bool | ScriptHasClassGroup (const char *classname) |
void | ScriptPrintClassHierarchy (const char *classname) |
void | ScriptPrintClassUsage (const char *classname) |
void | SetDebugLevel (const char *strTag, int level) |
void | SetLuaNamespace (string name, string value) |
void | SetLuaNamespaceInTable (string name, string value) |
void | SetMinSecondsUntilProgress (size_t s) |
void | SetOtherCompletions (const char **otherCompletions, int nr) |
SmartPtr< MultipleDerived > | SmartMultipleDerivedImpl () |
void | SmartTestArrived (SPSmartTest test) |
int | SmartTestFunc (SmartPtr< Test > test) |
SmartPtr< Test > | SmartTestImpl () |
template<typename TBase , typename TDerived > | |
void * | StaticVoidCast (void *DerivVoidPtr) |
static cast function for two classes More... | |
string | StdStringTest () |
const char * | StringTest () |
int | TestFunc (Test &t) |
calls non-const print on non-const object of class Test More... | |
void | TestMsgCallback (const TestMessage &msg) |
bool | TestNTree (const char *filename) |
void | TestPageContainer () |
const Test & | ToConst (Test &test) |
returns a const reference to a non-const object of class Test More... | |
void | ug_cacheline (string str) |
string | ug_readline (const char *prompt, bool &quit) |
int | UGTypeInfo (const char *p) |
Prints info to a lua type. More... | |
Unregistered * | UnregisteredParameterTest (Unregistered &unregistered) |
void | WriteLUAObject (lua_State *L, std::string name, std::ostream &s) |
void | WriteLUAObject2 (lua_State *L, std::string name, std::ostream &s) |
void | RegisterBridge_OrthoPoly (Registry ®, string parentGroup) |
Variables | |
int | iOtherCompletitionsLength |
static const size_t | NUM_ALGEBRA_TYPES = boost::mpl::size<CompileAlgebraList>::type::value - 1 |
const char ** | pOtherCompletitions =NULL |
const char * | REFINEMENT_MESSAGE_NAME = "MSG_GRID_ADAPTION" |
static int | UG4_DIM = -1 |
the dimension to which ug was initialized through InitUG More... | |
const char * | UG4_GRP = "/ug4" |
string for ug4 group More... | |
UG_API bool ug::bridge::ClassInstantiations | ( | const char * | classname | ) |
this function prints all objects which are of a certain class
classname | the class name to be searched |
References ClassNameVecContains(), ug::bridge::Registry::get_class(), GetClassNames(), ug::script::GetDefaultLuaState(), GetUGRegistry(), LUA_STACK_CHECK, UG_ASSERT, and UG_LOG.
Referenced by ClassUsage(), RegisterInfoCommands(), and UGTypeInfo().
string ug::bridge::ClassUsage | ( | const char * | classname | ) |
classname | the class to print usage in functions/member functions of (and all its subclasses) . class in in/out parameters is highlighted with [class]. |
References ug::bridge::IExportedClass::class_names(), ClassInstantiations(), ClassUsageExact(), ug::bridge::Registry::get_class(), and GetUGRegistry().
Referenced by ScriptPrintClassUsage().
int ug::bridge::convert | ( | const char * | functionName | ) |
References ug::LUAParserClass::createC(), ug::LUAParserClass::parse_luaFunction(), and UG_LOG.
Referenced by RegisterConverter().
int ug::bridge::convertVM | ( | const char * | functionName | ) |
References ug::LUAParserClass::createVM(), ug::LUAParserClass::parse_luaFunction(), ug::VMAdd::print(), ug::LUAParserClass::print_variable_names(), and UG_LOG.
Referenced by RegisterConverter().
bool ug::bridge::CreateHierarchy | ( | MultiGrid & | mg, |
size_t | numRefs | ||
) |
References numRefs, PROFILE_FUNC_GROUP, and ug::IRefiner::refine().
Referenced by RegisterGridBridge_Refinement().
bool ug::bridge::CreateSmoothHierarchy | ( | MultiGrid & | mg, |
size_t | numRefs | ||
) |
script::debug_return ug::bridge::DebugShell | ( | ) |
References ug::script::DEBUG_CONTINUE, ug::script::DEBUG_EXIT, ug::script::DEBUG_FINISH, ug::script::DEBUG_NEXT, ug::script::DEBUG_STEP, ug::script::DebugBacktrace(), ug::script::DebugDown(), ug::script::DebugList(), ug::script::DebugUp(), ug::UGError::get_msg(), LuaStackTrace(), ug::UGError::num_msg(), pcl::NumProcs(), ug::script::ParseAndExecuteBuffer(), PROFILE_BEGIN, SetOtherCompletions(), ug::script::LuaError::show_msg(), ug_cacheline(), UG_DEBUG_PROMPT, UG_LOG, ug_readline(), and UGTypeInfo().
Referenced by InitShell().
void ug::bridge::EnableLUA2C | ( | bool | b | ) |
References UG_LOG, ug::useLua2VM, and ug::useLuaCompiler.
Referenced by RegisterInfoCommands().
void ug::bridge::EnableLUA2VM | ( | bool | b | ) |
References ug::useLua2VM, and ug::useLuaCompiler.
Referenced by RegisterInfoCommands().
UG_API std::string ug::bridge::FunctionInfo | ( | lua_State * | L, |
bool | bComplete, | ||
const char * | functionName = NULL |
||
) |
prints out information for a lua function (a function defined in lua script)
L | the lua state |
bComplete | if complete, we print the source code of the function |
References ug::GetFileLine(), GetFileLinesLUA(), and LUA_STACK_CHECK.
Referenced by ug::bridge::lua::ExecuteMethod(), GetGlobalFunctionInfo(), GetMemberFunctionInfo(), LuaClassMethodInfo(), LuaList_cfunctions(), ug::bridge::lua::LuaProxyFunction(), and UGTypeInfo().
UG_API const ClassNameNode * ug::bridge::GetClassNameNode | ( | lua_State * | L, |
int | index | ||
) |
L | the lua state |
index | the index of the lua object |
References LUA_STACK_CHECK.
Referenced by GetLuaTypeString().
UG_API const std::vector< const char * > * ug::bridge::GetClassNames | ( | lua_State * | L, |
const char * | name | ||
) |
L | the lua state |
name | the name of the lua object |
Referenced by ClassInstantiations(), LuaClassMethodInfo(), and LuaList_classInstantiations().
L | the lua state |
index | the index of the lua object |
References LUA_STACK_CHECK, and p.
Referenced by GetMemberFunctionCompletitions(), and GetMemberFunctionInfo().
string ug::bridge::GetFileLinesLUA | ( | const char * | filename, |
size_t | fromline, | ||
size_t | toline | ||
) |
this function also includes all lines before fromline which begin with – (lua comments) and adds line numbers
filename | |
fromline | |
toline |
References ug::GetLogAssistant().
Referenced by FunctionInfo().
returns the current file and line (
returns the current file and line-number and line-content (
References ug::GetFileLine(), ug::GetLogAssistant(), and PROFILE_FUNC.
Referenced by GetLuaFileAndLineNumber(), and GetLuaLine().
bool ug::bridge::GetLuaFileAndLine | ( | lua_State * | L, |
std::string & | file, | ||
size_t & | line | ||
) |
returns the current file and line (
Referenced by ug::bridge::lua::LuaConstructor(), ug::bridge::lua::LuaProxyFunction(), ug::bridge::lua::LuaProxyGroupConstructor(), and ug::bridge::lua::LuaProxyMethod().
returns the current file and line-number
References GetLuaFileAndLine().
void ug::bridge::GetLuaGlobal_classInstantiations | ( | std::vector< std::string > & | classInstantiations | ) |
References GetLuaGlobals().
Referenced by LuaList_classInstantiations().
void ug::bridge::GetLuaGlobal_functions | ( | std::vector< std::string > & | functions | ) |
References GetLuaGlobals().
Referenced by LuaList_cfunctions().
void ug::bridge::GetLuaGlobal_internalFunctions | ( | std::vector< std::string > & | internalFunctions | ) |
References GetLuaGlobals().
Referenced by LuaList_internalFunctions().
void ug::bridge::GetLuaGlobal_luaObjects | ( | std::vector< std::string > & | luaObjects | ) |
References GetLuaGlobals().
Referenced by LuaList_luaObjects().
void ug::bridge::GetLuaGlobal_scriptFunctions | ( | std::vector< std::string > & | scriptFunctions | ) |
References GetLuaGlobals().
Referenced by LuaList_scriptFunctions().
void ug::bridge::GetLuaGlobals | ( | std::vector< std::string > * | functions, |
std::vector< std::string > * | internalFunctions, | ||
std::vector< std::string > * | scriptFunctions, | ||
std::vector< std::string > * | luaObjects, | ||
std::vector< std::string > * | classInstantiations | ||
) |
function to list all objects of the default LUA state
functions | |
internalFunctions | |
scriptFunctions | |
luaObjects | |
classInstantiations |
References FindFunction(), ug::bridge::Registry::get_class(), ug::script::GetDefaultLuaState(), GetUGRegistry(), and LUA_STACK_CHECK.
Referenced by GetLuaGlobal_classInstantiations(), GetLuaGlobal_functions(), GetLuaGlobal_internalFunctions(), GetLuaGlobal_luaObjects(), and GetLuaGlobal_scriptFunctions().
returns the current line-content
References ug::GetFileLine(), ug::GetLogAssistant(), GetLuaFileAndLine(), and PROFILE_FUNC.
Referenced by ug::bridge::lua::GetColonWarning().
bool ug::bridge::GetLuaNamespace | ( | lua_State * | L, |
string | name | ||
) |
searches for a namespaces (lists) and pushes it onto the stack
L | the lua state |
name | name of the namespace. also nested namespaces are allowed (like struc1.struc2) |
References LUA_STACK_CHECK, name, and ug::TokenizeString().
Referenced by GetLUAScriptFunctionDefined(), GetNamespaceCompletitions(), LuaGetBoolean(), LuaGetNumber(), LuaGetString(), ug::LUAParserClass::parse_luaFunction(), and UGTypeInfo().
std::string ug::bridge::GetLUAScriptFunctionDefined | ( | const char * | functionName | ) |
returns file and line of defined script function
References ug::script::GetDefaultLuaState(), GetLuaNamespace(), and LUA_STACK_CHECK.
Referenced by ug::LuaUserData< TData, dim, TRet >::check_callback_returns().
returns a String describing the content of the lua stack at a given index and all types it is compatible with (for ex. "2" is string and number)
L | the lua state |
index | lua stack index to get type string of |
References ug::bridge::ClassNameNode::empty(), GetClassNameNode(), and ug::bridge::ClassNameNode::name().
Referenced by ug::bridge::lua::GetLuaParametersString(), ug::bridge::lua::GetTypeMismatchString(), LuaList_luaObjects(), LuaPrintTable(), UGTypeInfo(), and WriteLUAObject2().
void ug::bridge::InitShell | ( | ) |
References CompletionFunction(), DebugShell(), and ug::script::SetDebugShell().
Referenced by ug_init_luashell().
void ug::bridge::InitSignals | ( | ) |
References UG_LOG.
Referenced by RegisterInfoCommands().
void ug::bridge::InitUG | ( | int | dim, |
const AlgebraType & | algType, | ||
bool | verbose | ||
) |
Sets the default classes of class-groups based on a tags.
If a class has a tag (e.g. "dim=1d", "dim=2d" or "dim=3d") then it will be set as default - depending on the given tags.
References ug::AlgebraType::blocksize(), dim, ug::bridge::Registry::get_class_group(), ug::bridge::ClassGroupDesc::get_class_tag(), GetAlgebraTag(), GetDimensionTag(), GetUGRegistry(), ug::bridge::Registry::num_class_groups(), ug::bridge::ClassGroupDesc::num_classes(), pcl::NumProcs(), PROFILE_FUNC, ug::bridge::ClassGroupDesc::set_default_class(), ug::AlgebraType::type(), UG4_DIM, UG_LOG, UG_THROW, and verbose.
|
static |
bool ug::bridge::LoadGrid | ( | Grid & | grid, |
const char * | filename | ||
) |
References ug::LoadGridFromFile(), and PROFILE_FUNC_GROUP.
Referenced by RegisterGridBridge_FileIO().
bool ug::bridge::LoadGrid | ( | Grid & | grid, |
ISubsetHandler & | sh, | ||
const char * | filename | ||
) |
References ug::LoadGridFromFile(), and PROFILE_FUNC_GROUP.
UG_API std::string ug::bridge::LuaClassMethodInfo | ( | lua_State * | L, |
int | index, | ||
const ExportedMethod & | thefunc | ||
) |
prints out information for a method of a class
L | the lua state |
index | index of the class object on the lua stack |
thefunc | method to print |
References FunctionInfo(), and GetClassNames().
Referenced by ug::bridge::lua::ExecuteMethod(), and ug::bridge::lua::LuaProxyMethod().
L |
prints the current lua line
L |
References ug::GetFileLine(), and LuaGetLastLine().
returns a boolean to a lua-variable.
L | the lua state |
name | name of the variable. namespaces are possible (like math.pi) |
notAvailable | return value if variable was not found |
References GetLuaNamespace(), LUA_STACK_CHECK, and name.
L | |
entry | (out) returns the lua_Debug entry associated with the deepest call stack level (the "current line") |
searches the lua stack for the first valid line info
L | the lua state |
entry | returned lua_Debug structure |
Referenced by LuaCurrentLine().
returns an integer to a lua-variable.
L | the lua state |
name | name of the variable. namespaces are possible (like math.pi) |
notAvailable | return value if variable was not found |
References GetLuaNamespace(), LUA_STACK_CHECK, and name.
Referenced by ug::LUAParserClass::createVM(), and ug::LUAParserClass::getVar().
prints the source of a lua script function which is on top of the stack
L | the lua state |
References ug::GetFileLine(), LUA_STACK_CHECK, and p.
Referenced by LuaList_scriptFunctions(), and LuaPrintTable().
UG_API std::string ug::bridge::LuaGetString | ( | lua_State * | L, |
const char * | name, | ||
const char * | notAvailable | ||
) |
returns the string to a lua-variable.
L | the lua state |
name | name of the variable. namespaces are possible (like math.pi) |
notAvailable | return value if variable was not found |
References GetLuaNamespace(), LUA_STACK_CHECK, and name.
void ug::bridge::LuaList | ( | ) |
References LuaList_cfunctions(), LuaList_classes(), LuaList_internalFunctions(), LuaList_luaObjects(), and LuaList_scriptFunctions().
Referenced by RegisterInfoCommands().
void ug::bridge::LuaList_cfunctions | ( | ) |
References FunctionInfo(), GetLuaGlobal_functions(), GetUGRegistry(), and UG_LOG.
Referenced by LuaList(), and RegisterInfoCommands().
void ug::bridge::LuaList_classes | ( | ) |
References classes, ug::bridge::Registry::get_class(), GetUGRegistry(), ug::bridge::IExportedClass::name(), ug::bridge::Registry::num_classes(), and UG_LOG.
Referenced by LuaList(), and RegisterInfoCommands().
void ug::bridge::LuaList_classInstantiations | ( | ) |
References GetClassNames(), ug::script::GetDefaultLuaState(), GetLuaGlobal_classInstantiations(), ug::IsLonger(), and UG_LOG.
Referenced by RegisterInfoCommands().
void ug::bridge::LuaList_internalFunctions | ( | ) |
References GetLuaGlobal_internalFunctions(), and UG_LOG.
Referenced by LuaList(), and RegisterInfoCommands().
void ug::bridge::LuaList_luaObjects | ( | ) |
References ug::script::GetDefaultLuaState(), GetLuaGlobal_luaObjects(), GetLuaTypeString(), ug::IsLonger(), p, and UG_LOG.
Referenced by LuaList(), and RegisterInfoCommands().
void ug::bridge::LuaList_scriptFunctions | ( | ) |
References ug::script::GetDefaultLuaState(), GetLuaGlobal_scriptFunctions(), ug::IsLonger(), LuaGetScriptFunctionString(), and UG_LOG.
Referenced by LuaList(), and RegisterInfoCommands().
prints the source of a lua script function which is on top of the stack
L | the lua state |
L | the lua state |
index | lua stack index of the table |
References GetLuaTypeString(), LUA_STACK_CHECK, LuaGetScriptFunctionString(), name, ug::repeat(), and UG_LOG.
Referenced by UGTypeInfo().
int ug::bridge::LuaStackToParams | ( | ParameterStack & | ps, |
const ParameterInfo & | psInfo, | ||
lua_State * | L, | ||
int | offsetToFirstParam = 0 |
||
) |
copies parameter values from the lua-stack to a parameter-list.
References ug::bridge::ParameterInfo::class_name(), ug::bridge::ParameterInfo::is_vector(), PushLuaStackPointerEntryToParamStack(), ug::bridge::ParameterInfo::size(), ug::bridge::ParameterInfo::type(), ug::Variant::VT_BOOL, ug::Variant::VT_CONST_POINTER, ug::Variant::VT_CONST_SMART_POINTER, ug::Variant::VT_CSTRING, ug::Variant::VT_DOUBLE, ug::Variant::VT_FLOAT, ug::Variant::VT_INT, ug::Variant::VT_POINTER, ug::Variant::VT_SIZE_T, ug::Variant::VT_SMART_POINTER, and ug::Variant::VT_STDSTRING.
Referenced by ug::bridge::lua::ExecuteMethod(), ug::bridge::lua::LuaConstructor(), and ug::bridge::lua::LuaProxyFunction().
UG_API void ug::bridge::LuaStackTrace | ( | int | fromLevel | ) |
prints information about lua's call stack (file:line source).
References ug::script::GetDefaultLuaState(), LuaStackTraceString(), and UG_LOG.
Referenced by ug::script::DebugBacktrace(), DebugShell(), ug::script::luaCallStackError(), and RegisterInfoCommands().
UG_API std::string ug::bridge::LuaStackTraceString | ( | ) |
References ug::script::GetDefaultLuaState().
Referenced by LuaStackTrace().
prints information about lua's call stack (file:line source).
this function returns e.g. 1 @/Users/mrupp/Documents/workspace/ug4svn/apps/amg//setup.lua:576 local dim = p.approxSpace:get_dim() 2 @/Users/mrupp/Documents/workspace/ug4svn/apps/amg//setup.lua:649 amgsetup.CreateApproxSpaceAndDisc() 3 @/Users/mrupp/Documents/workspace/ug4svn/apps/amg/famg_laplace.lua:21 amgsetup.LoadStdDomAndApproxSpace()
L | |
fromLevel | where to start |
toLevel | how far we want to go back |
L | the lua state |
backtraceLevel | number of calls to display (<= 0 -> all) |
References ug::GetFileLine(), ug::StringTableStream::to_string(), and ug::TrimString().
Referenced by lua_backtrace(), and ug::bridge::lua::PrintLUACallStack().
string ug::bridge::LUAStringEscape | ( | string | s | ) |
References ug::ReplaceAll(), and s.
Referenced by WriteLUAObject2().
void ug::bridge::LuaWrite | ( | const char * | filename, |
const char * | obj | ||
) |
References ug::script::GetDefaultLuaState(), and WriteLUAObject().
Referenced by RegisterSerializationCommands().
void ug::bridge::LuaWriteCout | ( | const char * | obj | ) |
References ug::script::GetDefaultLuaState(), and WriteLUAObject().
Referenced by RegisterSerializationCommands().
|
static |
References ug::bridge::ParameterStack::to().
|
static |
References ug::bridge::ParameterInfo::class_name(), and ug::bridge::ParameterStack::to().
int ug::bridge::ParamsToLuaStack | ( | const ParameterStack & | ps, |
lua_State * | L | ||
) |
Pushes the parameter-values to the Lua-Stack.
References ug::bridge::ParameterInfo::is_vector(), ug::bridge::ParameterInfo::size(), ug::bridge::ParameterInfo::type(), UG_THROW, ug::Variant::VT_BOOL, ug::Variant::VT_CONST_POINTER, ug::Variant::VT_CONST_SMART_POINTER, ug::Variant::VT_CSTRING, ug::Variant::VT_DOUBLE, ug::Variant::VT_FLOAT, ug::Variant::VT_INT, ug::Variant::VT_POINTER, ug::Variant::VT_SIZE_T, ug::Variant::VT_SMART_POINTER, and ug::Variant::VT_STDSTRING.
Referenced by ug::bridge::lua::ExecuteMethod(), ug::bridge::lua::LuaProxyFunction(), and ug::bridge::lua::LuaToStringDefault().
void ug::bridge::PrintClassSubHierarchy | ( | ClassHierarchy & | c, |
int | level | ||
) |
References ug::bridge::ClassHierarchy::name, ug::bridge::ClassHierarchy::subclasses, and UG_LOG.
Referenced by ClassHierarchyString().
string ug::bridge::PrintParametersIn | ( | const T & | thefunc, |
const char * | highlightclassname | ||
) |
References ParameterToString().
string ug::bridge::PrintParametersOut | ( | const ExportedFunctionBase & | thefunc | ) |
References ParameterToString(), ug::bridge::ExportedFunctionBase::params_out(), and ug::bridge::ParameterInfo::size().
Referenced by FunctionInfo().
|
static |
References ug::bridge::ParameterStack::push().
|
static |
References ug::bridge::ParameterStack::push().
Referenced by LuaStackToParams(), and WriteLUAObject2().
void ug::bridge::RegisterBridge_AdaptiveTools | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_AlgebraCommon | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_AlgebraOrdering | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_ConstrainedLinearIterator | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
void ug::bridge::RegisterBridge_Constraints | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_DiscAlgebra | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_Domain | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_DomainDependentPreconditioner | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_DomainDisc | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_DomainRayTracing | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_Eigensolver | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_ElemDiscs | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_Evaluate | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_FiniteVolume | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_GPU | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
void ug::bridge::RegisterBridge_Grid | ( | Registry & | reg, |
string | parentGroup | ||
) |
References RegisterGridBridge_Balancing(), RegisterGridBridge_Debug(), RegisterGridBridge_FileIO(), RegisterGridBridge_Grid(), RegisterGridBridge_Layers(), RegisterGridBridge_Misc(), RegisterGridBridge_Refinement(), RegisterGridBridge_Selector(), RegisterGridBridge_SubsetHandler(), and UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_GridFunction | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_Integrate | ( | Registry & | reg, |
string | grp | ||
) |
References ug::bridge::Registry::add_function(), ug::TestQuadRule(), and UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_Interpolate | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_LoadBalancing | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_ManifoldUtil | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_MaxError | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_MultiGrid | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_Obstacle | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_Ordering | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_Output | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_PeriodicBoundary | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_PILUT | ( | Registry & | reg, |
std::string | grp | ||
) |
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_Preconditioner | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_Raster | ( | Registry & | reg, |
string | parentGroup | ||
) |
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_ReferenceMappingTest | ( | Registry & | reg, |
string | grp | ||
) |
References ug::bridge::Registry::add_function(), ug::EdgeReferenceMappingTest(), ug::OctReferenceMappingTest(), and ug::TetReferenceMappingTest().
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_Refinement | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_Restart | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_Schur | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_Selection | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_Solver | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_Transform | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
void ug::bridge::RegisterBridge_UserData | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by RegisterStandardBridges().
bool ug::bridge::RegisterConverter | ( | Registry & | reg, |
const char * | parentGroup | ||
) |
References ug::bridge::Registry::add_function(), convert(), and convertVM().
Referenced by ug::script::RegisterDefaultLuaBridge().
|
static |
A template function for registering a degenerated layer manager for a specified dimensionality.
References ug::bridge::Registry::add_class_(), ug::bridge::Registry::add_class_to_group(), close(), contains(), and name.
void ug::bridge::RegisterGeometry | ( | Registry & | reg, |
string | grp | ||
) |
References ug::bridge::Registry::add_class_(), ug::bridge::Registry::add_class_to_group(), mkstr, and name.
void ug::bridge::RegisterGridBridge_Balancing | ( | Registry & | reg, |
std::string | parentGroup | ||
) |
void ug::bridge::RegisterGridBridge_Balancing | ( | Registry & | reg, |
string | parentGroup | ||
) |
References ug::bridge::Registry::add_class_().
Referenced by RegisterBridge_Grid().
void ug::bridge::RegisterGridBridge_Debug | ( | Registry & | reg, |
std::string | parentGroup | ||
) |
void ug::bridge::RegisterGridBridge_Debug | ( | Registry & | reg, |
string | parentGroup | ||
) |
References ug::bridge::Registry::add_function(), ug::CheckDistributedObjectConstraintTypes(), ug::CheckDistributedParentTypes(), ug::CheckElementConsistency(), ug::CheckForUnconnectedSides(), ug::CheckHangingNodeConsistency(), and ug::CheckMultiGridConsistency().
Referenced by RegisterBridge_Grid().
void ug::bridge::RegisterGridBridge_FileIO | ( | Registry & | reg, |
std::string | parentGroup | ||
) |
void ug::bridge::RegisterGridBridge_FileIO | ( | Registry & | reg, |
string | parentGroup | ||
) |
void ug::bridge::RegisterGridBridge_Grid | ( | Registry & | reg, |
std::string | parentGroup | ||
) |
void ug::bridge::RegisterGridBridge_Grid | ( | Registry & | reg, |
string | parentGroup | ||
) |
References ug::bridge::Registry::add_class_(), ug::bridge::Registry::add_function(), and boost::num_vertices().
Referenced by RegisterBridge_Grid().
void ug::bridge::RegisterGridBridge_Layers | ( | Registry & | reg, |
std::string | parentGroup | ||
) |
Referenced by RegisterBridge_Grid().
void ug::bridge::RegisterGridBridge_Layers | ( | Registry & | reg, |
string | parentGroup | ||
) |
void ug::bridge::RegisterGridBridge_Misc | ( | Registry & | reg, |
std::string | parentGroup | ||
) |
Referenced by RegisterBridge_Grid().
void ug::bridge::RegisterGridBridge_Misc | ( | Registry & | reg, |
string | parentGroup | ||
) |
void ug::bridge::RegisterGridBridge_Refinement | ( | Registry & | reg, |
std::string | parentGroup | ||
) |
Referenced by RegisterBridge_Grid().
void ug::bridge::RegisterGridBridge_Refinement | ( | Registry & | reg, |
string | parentGroup | ||
) |
void ug::bridge::RegisterGridBridge_Selector | ( | Registry & | reg, |
std::string | parentGroup | ||
) |
Referenced by RegisterBridge_Grid().
void ug::bridge::RegisterGridBridge_Selector | ( | Registry & | reg, |
string | parentGroup | ||
) |
References ug::bridge::Registry::add_class_().
void ug::bridge::RegisterGridBridge_SubsetHandler | ( | Registry & | reg, |
std::string | parentGroup | ||
) |
Referenced by RegisterBridge_Grid().
void ug::bridge::RegisterGridBridge_SubsetHandler | ( | Registry & | reg, |
string | parentGroup | ||
) |
registers info commands TypeInfo, ClassUsage and others
References ug::bridge::Registry::add_function(), ClassInstantiations(), EnableLUA2C(), EnableLUA2VM(), ug::GetLoadedPlugins(), InitSignals(), LuaList(), LuaList_cfunctions(), LuaList_classes(), LuaList_classInstantiations(), LuaList_internalFunctions(), LuaList_luaObjects(), LuaList_scriptFunctions(), LuaStackTrace(), ug::PluginLoaded(), RegisterSerializationCommands(), ScriptHasClass(), ScriptHasClassGroup(), ScriptPrintClassHierarchy(), ScriptPrintClassUsage(), UG_REGISTRY_CATCH_THROW, and UGTypeInfo().
Referenced by ug::script::RegisterDefaultLuaBridge().
void ug::bridge::RegisterLuaUserData | ( | Registry & | reg, |
std::string | grp | ||
) |
void ug::bridge::RegisterLuaUserData | ( | Registry & | reg, |
string | grp | ||
) |
References UG_REGISTRY_CATCH_THROW.
Referenced by ug::script::RegisterDefaultLuaBridge().
|
static |
References ug::bridge::Registry::add_class_(), ug::bridge::Registry::add_class_to_group(), create(), dim, and name.
|
static |
References ug::bridge::Registry::add_class_(), ug::bridge::Registry::add_class_to_group(), and name.
bool ug::bridge::RegisterSerializationCommands | ( | Registry & | reg, |
const char * | parentGroup | ||
) |
References ug::bridge::Registry::add_function(), LuaWrite(), LuaWriteCout(), and UG_REGISTRY_CATCH_THROW.
Referenced by RegisterInfoCommands().
void ug::bridge::RegisterStandardBridges | ( | Registry & | reg, |
string | parentGroup | ||
) |
References ug::bridge::Registry::add_class_(), ug::bridge::Registry::add_function(), append(), GetUGDim(), InitUG(), RegisterBridge_AdaptiveTools(), RegisterBridge_AlgebraCommon(), RegisterBridge_AlgebraOrdering(), RegisterBridge_Constraints(), RegisterBridge_DiscAlgebra(), RegisterBridge_DiscCommon(), RegisterBridge_Domain(), RegisterBridge_DomainDependentPreconditioner(), RegisterBridge_DomainDisc(), RegisterBridge_DomainRayTracing(), RegisterBridge_Eigensolver(), RegisterBridge_ElemDiscs(), RegisterBridge_Evaluate(), RegisterBridge_FiniteVolume(), RegisterBridge_Grid(), RegisterBridge_GridFunction(), RegisterBridge_Integrate(), RegisterBridge_Interpolate(), RegisterBridge_LoadBalancing(), RegisterBridge_ManifoldUtil(), RegisterBridge_MaxError(), RegisterBridge_Misc(), RegisterBridge_MultiGrid(), RegisterBridge_Obstacle(), RegisterBridge_Ordering(), RegisterBridge_OrthoPoly(), RegisterBridge_Output(), RegisterBridge_PCL(), RegisterBridge_PeriodicBoundary(), RegisterBridge_PILUT(), RegisterBridge_Preconditioner(), RegisterBridge_Profiler(), RegisterBridge_Raster(), RegisterBridge_ReferenceMappingTest(), RegisterBridge_Refinement(), RegisterBridge_Restart(), RegisterBridge_Schur(), RegisterBridge_Selection(), RegisterBridge_Solver(), RegisterBridge_Transform(), RegisterBridge_UserData(), RegisterBridge_Util(), RegisterBridge_VecMath(), ug::bridge::Registry::registry_changed(), UG_CATCH_THROW, and UG_REGISTRY_CATCH_THROW.
Referenced by InitBridge().
int ug::bridge::RunShell | ( | const char * | prompt | ) |
References ug::UGError::get_file(), ug::UGError::get_line(), ug::UGError::get_msg(), ug::UGError::num_msg(), ug::script::ParseAndExecuteBuffer(), PROFILE_BEGIN, SetOtherCompletions(), ug::script::LuaError::show_msg(), ug_cacheline(), UG_LOG, UG_PROMPT, ug_readline(), and UGTypeInfo().
Referenced by ugshell_main().
bool ug::bridge::SaveGrid | ( | Grid & | grid, |
const char * | filename | ||
) |
References PROFILE_FUNC_GROUP, and ug::SaveGridToFile().
bool ug::bridge::SaveGrid | ( | Grid & | grid, |
const ISubsetHandler & | sh, | ||
const char * | filename | ||
) |
References PROFILE_FUNC_GROUP, and ug::SaveGridToFile().
Referenced by RegisterGridBridge_FileIO().
bool ug::bridge::SaveGrid | ( | Grid & | grid, |
ISubsetHandler & | sh, | ||
const char * | filename | ||
) |
References PROFILE_FUNC_GROUP, and ug::SaveGridToFile().
bool ug::bridge::SaveGridHierarchy | ( | MultiGrid & | mg, |
const char * | filename | ||
) |
References ug::MultiGrid::get_hierarchy_handler(), PROFILE_FUNC_GROUP, and ug::SaveGridToFile().
Referenced by RegisterGridBridge_FileIO().
bool ug::bridge::ScriptHasClass | ( | const char * | classname | ) |
References ug::bridge::Registry::get_class(), and GetUGRegistry().
Referenced by RegisterInfoCommands().
bool ug::bridge::ScriptHasClassGroup | ( | const char * | classname | ) |
References ug::bridge::Registry::get_class_group(), and GetUGRegistry().
Referenced by RegisterInfoCommands().
void ug::bridge::ScriptPrintClassHierarchy | ( | const char * | classname | ) |
References ClassHierarchyString(), GetUGRegistry(), and UG_LOG.
Referenced by RegisterInfoCommands().
void ug::bridge::ScriptPrintClassUsage | ( | const char * | classname | ) |
References ClassUsage(), and UG_LOG.
Referenced by RegisterInfoCommands().
void ug::bridge::SetLuaNamespace | ( | string | name, |
string | value | ||
) |
References ug::script::GetDefaultLuaState(), LUA_STACK_CHECK, name, SetLuaNamespaceInTable(), and UG_LOGN.
void ug::bridge::SetLuaNamespaceInTable | ( | string | name, |
string | value | ||
) |
References ug::script::GetDefaultLuaState(), LUA_STACK_CHECK, name, and UG_LOGN.
Referenced by SetLuaNamespace().
bool ug::bridge::TestNTree | ( | const char * | filename | ) |
void ug::bridge::ug_cacheline | ( | string | str | ) |
Referenced by DebugShell(), and RunShell().
string ug::bridge::ug_readline | ( | const char * | prompt, |
bool & | quit | ||
) |
Referenced by DebugShell(), and RunShell().
UG_API int ug::bridge::UGTypeInfo | ( | const char * | p | ) |
Prints info to a lua type.
p | the name of the object in lua. you can use class names, function names or the names of an object
|
References ug::bridge::IExportedClass::class_names(), ClassHierarchyString(), ClassInfo(), ClassInstantiations(), FunctionInfo(), ug::bridge::ClassGroupDesc::get_class(), ug::bridge::Registry::get_class(), ug::bridge::Registry::get_class_group(), ug::bridge::ClassGroupDesc::get_default_class(), ug::script::GetDefaultLuaState(), GetLuaNamespace(), GetLuaTypeString(), GetUGRegistry(), LUA_STACK_CHECK, LuaPrintTable(), ug::bridge::IExportedClass::name(), ug::bridge::ClassGroupDesc::num_classes(), p, and UG_LOG.
Referenced by DebugShell(), GetClassesCompletitions(), GetGlobalsCompletitions(), GetNamespaceCompletitions(), RegisterInfoCommands(), and RunShell().
void ug::bridge::WriteLUAObject | ( | lua_State * | L, |
std::string | name, | ||
std::ostream & | s | ||
) |
References name, s, and WriteLUAObject2().
Referenced by LuaWrite(), and LuaWriteCout().
void ug::bridge::WriteLUAObject2 | ( | lua_State * | L, |
std::string | name, | ||
std::ostream & | s | ||
) |
References ug::bridge::ParameterInfo::class_name(), func(), ug::bridge::Registry::get_exported_function_group(), ug::bridge::ExportedFunctionGroup::get_overload(), GetLuaTypeString(), GetUGRegistry(), LUAStringEscape(), name, ug::bridge::ExportedFunctionGroup::num_overloads(), p, ug::bridge::ParameterStack::push(), PushLuaStackPointerEntryToParamStack(), and s.
Referenced by WriteLUAObject().
int ug::bridge::iOtherCompletitionsLength |
Referenced by GetOtherCompletitions(), and SetOtherCompletions().
const char** ug::bridge::pOtherCompletitions =NULL |
Referenced by GetOtherCompletitions(), and SetOtherCompletions().
|
static |
the dimension to which ug was initialized through InitUG
This dimension can be accessed through GetUGDim()
Referenced by GetUGDim(), and InitUG().