网页
综合
更新时间 2026-11-14 16:51:32
Function reference
自动蜘蛛
www.devitoproject.org
正文约 3414 字
Skip to main content Home Download Tutorials API Reference FAQ Publications Cite us Contact us DevitoCodes Devito Function reference Function reference Types Dimension ConditionalDimension SubDimension Grid SubDomain CustomTopology Constant Function TimeFunction VectorFunction VectorTimeFunction TensorFunction TensorTimeFunction SparseFunction SparseTimeFunction PrecomputedSparseFunction PrecomputedSparseTimeFunction Operator Operator Eq Finite differences div grad curl diag laplace Derivative Coefficient Substitutions Utilities smooth initialize_function mmin mmax sum norm Exceptions DevitoError CompilationError InvalidArgument InvalidOperator ExecutionError On this page Types Operator Finite differences Utilities Exceptions Report an issueOther FormatsJupyter Function reference Types Dimension Symbol defining an iteration space. ConditionalDimension Symbol defining a non-convex iteration sub-space derived from a parent SubDimension Symbol defining a convex iteration sub-space derived from a parent Grid A cartesian grid that encapsulates a computational domain over which SubDomain Base class to define Grid subdomains. CustomTopology The CustomTopology class provides a mechanism to describe parametric domain Constant Symbol representing a constant, scalar value in symbolic equations. Function Tensor symbol representing a discrete function in symbolic equations. TimeFunction Tensor symbol representing a discrete function in symbolic equations. VectorFunction Vector valued space varying Function as a rank 1 tensor of Function. VectorTimeFunction Time varying VectorFunction. TensorFunction Tensor valued Function represented as a Matrix. TensorTimeFunction Time varying TensorFunction. SparseFunction Tensor symbol representing a sparse array in symbolic equations. SparseTimeFunction Tensor symbol representing a space- and time-varying sparse array in symbolic PrecomputedSparseFunction Tensor symbol representing a sparse array in symbolic equations; unlike PrecomputedSparseTimeFunction Tensor symbol representing a space- and time-varying sparse array in symbolic Operator Operator Generate, JIT-compile and run C code starting from an ordered sequence Eq An equal relation between two objects, the left-hand side and the Finite differences div Divergence of the input Function. grad Gradient of the input Function. curl Curl of the input Function. Only supported for VectorFunction diag Creates a diagonal tensor with func on its diagonal. laplace Laplacian of the input Function. Derivative An unevaluated Derivative, which carries metadata (Dimensions, Coefficient Substitutions Utilities smooth Smooth a Function through simple moving average. initialize_function Initialize a Function with the given data. data mmin Retrieve the minimum. mmax Retrieve the maximum. sum Compute the sum of the Function data over specified dimensions. norm Compute the norm of a Function. Exceptions DevitoError Base class for all Devito-related exceptions. CompilationError Raised by the JIT compiler when the generated code cannot be compiled, InvalidArgument Raised by the runtime system when an op.apply(...) argument, either a InvalidOperator Raised by the runtime system when an Operator cannot be constructed. ExecutionError Raised after op.apply(...) if a runtime error occurred during the execution Back to top Dimension 2016 Copyright (c) Imperial College London and others Report an issue
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。