📄 dolfin_docstrings.i
字号:
overloading the eval function of this class or by giving a function(pointer) that returns the value of the function.C++ includes: Function.h ";%feature("docstring") dolfin::Function::Function "Create empty function (read data from file). ";%feature("docstring") dolfin::Function::Function "Create user-defined function (evaluation operator must be overloaded).";%feature("docstring") dolfin::Function::Function "Create constant function from given value. ";%feature("docstring") dolfin::Function::Function "Create function from given ufc::function. ";%feature("docstring") dolfin::Function::Function "Create function from given GenericFunction.Create discrete function for argument function i of form ";%feature("docstring") dolfin::Function::Function "Create discrete function for argument function i of form. ";%feature("docstring") dolfin::Function::Function "Create discrete function from sub function. ";%feature("docstring") dolfin::Function::Function "Create function from data file. ";%feature("docstring") dolfin::Function::Function "Copy constructor. ";%feature("docstring") dolfin::Function::~Function "Destructor. ";%feature("docstring") dolfin::Function::init "Create discrete function for argument function i of form. ";%feature("docstring") dolfin::Function::init "Create discrete function for argument function i of form. ";%feature("docstring") dolfin::Function::type "Return the type of function. ";%feature("docstring") dolfin::Function::rank "Return the rank of the value space. ";%feature("docstring") dolfin::Function::dim "Return the dimension of the value space for axis i. ";%feature("docstring") dolfin::Function::mesh "Return the mesh. ";%feature("docstring") dolfin::Function::vector "Return the vector associated with a DiscreteFunction. ";%feature("docstring") dolfin::Function::numSubFunctions "Return the number of sub functions (only for discrete functions). ";%feature("docstring") dolfin::Function::interpolate "Interpolate function to vertices of mesh. ";%feature("docstring") dolfin::Function::interpolate "Interpolate function to finite element space on cell. ";%feature("docstring") dolfin::Function::eval "Evaluate function at given point (used for subclassing through SWIGinterface). ";%feature("docstring") dolfin::Function::eval "Evaluate function at given point (overload for scalar user-definedfunction). ";%feature("docstring") dolfin::Function::eval "Evaluate scalar function at given point (overload for scalar user-defined function). ";// File: classdolfin_1_1GaussianQuadrature.xml%feature("docstring") dolfin::GaussianQuadrature "Gaussian-type quadrature rule on the real line, including Gauss,Radau, and Lobatto quadrature.Points and weights are computed to be exact within a tolerance ofDOLFIN_EPS. Comparing with known exact values for n <= 3 shows that weobtain full precision (16 digits, error less than 2e-16).C++ includes: GaussianQuadrature.h ";%feature("docstring") dolfin::GaussianQuadrature::GaussianQuadrature"";// File: classdolfin_1_1GaussQuadrature.xml%feature("docstring") dolfin::GaussQuadrature "Gauss (Gauss-Legendre) quadrature on the interval [-1,1]. The nquadrature points are given by the zeros of the n:th Legendre Pn(x).The quadrature points are computed using Newton's method, and thequadrature weights are computed by solving a linear system determinedby the condition that Gauss quadrature with n points should be exactfor polynomials of degree 2n-1.C++ includes: GaussQuadrature.h ";%feature("docstring") dolfin::GaussQuadrature::GaussQuadrature "";%feature("docstring") dolfin::GaussQuadrature::disp "Display quadrature data. ";// File: classdolfin_1_1GenericMatrix.xml%feature("docstring") dolfin::GenericMatrix "This class defines a common interface for matrices.C++ includes: GenericMatrix.h ";%feature("docstring") dolfin::GenericMatrix::~GenericMatrix "Destructor. ";%feature("docstring") dolfin::GenericMatrix::init "Initialize zero tensor using sparsity pattern. ";%feature("docstring") dolfin::GenericMatrix::copy "Return copy of tensor. ";%feature("docstring") dolfin::GenericMatrix::rank "Return tensor rank (number of dimensions). ";%feature("docstring") dolfin::GenericMatrix::size "Return size of given dimension. ";%feature("docstring") dolfin::GenericMatrix::get "Get block of values. ";%feature("docstring") dolfin::GenericMatrix::set "Set block of values. ";%feature("docstring") dolfin::GenericMatrix::add "Add block of values. ";%feature("docstring") dolfin::GenericMatrix::zero "Set all entries to zero and keep any sparse structure. ";%feature("docstring") dolfin::GenericMatrix::apply "Finalize assembly of tensor. ";%feature("docstring") dolfin::GenericMatrix::disp "Display tensor. ";%feature("docstring") dolfin::GenericMatrix::init "Initialize M x N matrix. ";%feature("docstring") dolfin::GenericMatrix::get "Get block of values. ";%feature("docstring") dolfin::GenericMatrix::set "Set block of values. ";%feature("docstring") dolfin::GenericMatrix::add "Add block of values. ";%feature("docstring") dolfin::GenericMatrix::getrow "Get non-zero values of given row. ";%feature("docstring") dolfin::GenericMatrix::setrow "Set values for given row. ";%feature("docstring") dolfin::GenericMatrix::zero "Set given rows to zero. ";%feature("docstring") dolfin::GenericMatrix::ident "Set given rows to identity matrix. ";%feature("docstring") dolfin::GenericMatrix::mult "Matrix-vector product, y = Ax. ";%feature("docstring") dolfin::GenericMatrix::getitem "Get value of given entry. ";%feature("docstring") dolfin::GenericMatrix::setitem "Set given entry to value. ";// File: classdolfin_1_1GenericSparsityPattern.xml%feature("docstring") dolfin::GenericSparsityPattern "Base class for sparsity patterns of vectors/matrices. Concrete subclasses can be used to initialize vectors and sparse matrices.C++ includes: GenericSparsityPattern.h ";%feature("docstring")dolfin::GenericSparsityPattern::GenericSparsityPattern "Constructor. ";%feature("docstring")dolfin::GenericSparsityPattern::~GenericSparsityPattern "Destructor. ";%feature("docstring") dolfin::GenericSparsityPattern::init "Initialize sparsity pattern for a generic tensor. ";%feature("docstring") dolfin::GenericSparsityPattern::pinit "Initialise sparsity pattern for a parallel generic tensor. ";%feature("docstring") dolfin::GenericSparsityPattern::insert "Insert non-zero entry. ";%feature("docstring") dolfin::GenericSparsityPattern::pinsert "Insert non-zero entry. ";%feature("docstring") dolfin::GenericSparsityPattern::size "Return global size. ";%feature("docstring")dolfin::GenericSparsityPattern::numNonZeroPerRow "Return array with number of non-zeroes per row. ";%feature("docstring") dolfin::GenericSparsityPattern::numNonZero "Return total number of non-zeroes. ";%feature("docstring") dolfin::GenericSparsityPattern::apply "Finalize sparsity pattern (needed by most parallel la backends). ";// File: classdolfin_1_1GenericTensor.xml%feature("docstring") dolfin::GenericTensor "This class defines a common interface for arbitrary rank tensors.C++ includes: GenericTensor.h ";%feature("docstring") dolfin::GenericTensor::~GenericTensor "Destructor. ";%feature("docstring") dolfin::GenericTensor::init "Initialize zero tensor using sparsity pattern. ";%feature("docstring") dolfin::GenericTensor::copy "Return copy of tensor. ";%feature("docstring") dolfin::GenericTensor::rank "Return tensor rank (number of dimensions). ";%feature("docstring") dolfin::GenericTensor::size "Return size of given dimension. ";%feature("docstring") dolfin::GenericTensor::get "Get block of values. ";%feature("docstring") dolfin::GenericTensor::set "Set block of values. ";%feature("docstring") dolfin::GenericTensor::add "Add block of values. ";%feature("docstring") dolfin::GenericTensor::zero "Set all entries to zero and keep any sparse structure. ";%feature("docstring") dolfin::GenericTensor::apply "Finalize assembly of tensor. ";%feature("docstring") dolfin::GenericTensor::disp "Display tensor. ";%feature("docstring") dolfin::GenericTensor::factory "Return linear algebra backend factory. ";%feature("docstring") dolfin::GenericTensor::down_cast "Cast a GenericTensor to its derived class (const version). ";%feature("docstring") dolfin::GenericTensor::down_cast "Cast a GenericTensor to its derived class (non-const version). ";%feature("docstring") dolfin::GenericTensor::has_type "Check whether the GenericTensor instance matches a specific type. ";%feature("docstring") dolfin::GenericTensor::instance "Return concrete instance / unwrap (const version). ";%feature("docstring") dolfin::GenericTensor::instance "Return concrete instance / unwrap (non-const version). ";// File: classdolfin_1_1GenericVector.xml%feature("docstring") dolfin::GenericVector "This class defines a common interface for vectors.C++ includes: GenericVector.h ";%feature("docstring") dolfin::GenericVector::~GenericVector "Destructor. ";%feature("docstring") dolfin::GenericVector::init "Initialize zero tensor using sparsity pattern. ";%feature("docstring") dolfin::GenericVector::copy "Return copy of tensor. ";%feature("docstring") dolfin::GenericVector::rank "Return tensor rank (number of dimensions). ";%feature("docstring") dolfin::GenericVector::size "Return size of given dimension. ";%feature("docstring") dolfin::GenericVector::get "Get block of values. ";%feature("docstring") dolfin::GenericVector::set "Set block of values. ";%feature("docstring") dolfin::GenericVector::add "Add block of values. ";%feature("docstring") dolfin::GenericVector::zero "Set all entries to zero and keep any sparse structure. ";%feature("docstring") dolfin::GenericVector::apply "Finalize assembly of tensor. ";%feature("docstring") dolfin::GenericVector::disp "Display tensor. ";%feature("docstring") dolfin::GenericVector::init "Initialize vector of size N. ";%feature("docstring") dolfin::GenericVector::size "Return size of vector. ";%feature("docstring") dolfin::GenericVector::get "Get block of values. ";%feature("docstring") dolfin::GenericVector::set "Set block of values. ";%feature("docstring") dolfin::GenericVector::add "Add block of values. ";%feature("docstring") dolfin::GenericVector::get "Get all values. ";%feature("docstring") dolfin::GenericVector::set "Set all values. ";%feature("docstring") dolfin::GenericVector::add "Add values to each entry. ";%feature("docstring") dolfin::GenericVector::axpy "Add multiple of given vector (AXPY operation). ";%feature("docstring") dolfin::GenericVector::inner "Return inner product with given vector. ";%feature("docstring") dolfin::GenericVector::norm "Return norm of vector. ";%feature("docstring") dolfin::GenericVector::min "Return minimum value of vector. ";%feature("docstring") dolfin::GenericVector::max "Return maximum value of vector. ";%feature("docstring") dolfin::GenericVector::getitem "Get value of given entry. ";%feature("docstring") dolfin::GenericVector::setitem "Set given entry to value. ";// File: classdolfin_1_1Graph.xml%feature("docstring") dolfin::Graph "A Graph consists of a set of vertices and edges.The graph is stored in Compressed Sparse Row (CSR) format. This formatstores edges and vertices separately in two arrays, with the indicesinto these arrays corresponding to the identifier for the vertex oredge, respectively. The edge array stores the edge destinationvertices while the vertice array stores the offset into the edgearray. E.g. the edges connected to vertex i are: edges[vertices[i]],edges[vertices[i]+1], ..., edges[vertices[i]-1].In a graph with n vertices the vertex array will be of size n+1. Theedge array will be of size m in a directed graph and size 2m in aundirected graph (an edge between vertices u and v is stored as (v,u)as well as (u,v)).Example graph: 0 -- 1 | \\\\ | | \\\\ | 2 -- 3Stored as:edges = [123030312] vertices = [03579]Note that the last integer of vertices does not represent a vertex,but is there to support edge iteration as described above.CSR format minimizes memory usage and is suitable for large graphsthat do not change.C++ includes: Graph.h ";%feature("docstring") dolfin::Graph::Graph "Create empty graph. ";%feature("docstring") dolfin::Graph::Graph "Copy constructor. ";%feature("docstring") dolfin::Graph::Graph "Create graph from given file. ";%feature("docstring") dolfin::Graph::Graph "Create graph from mesh. ";%feature("docstring") dolfin::Graph::Graph "Create graph from mesh. ";%feature("docstring") dolfin::Graph::Graph "Create graph from mesh. ";%feature("docstring") dolfin::Graph::~Graph "Destructor. ";%feature("docstring") dolfin::Graph::numVertices "Assignment.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -