You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PostponedTopology supports boundaries, interfaces and groups, returning PostponedTopology objects, and integrals, returning PostponedIntegral objects. Upon evaluation of a PostponedIntegral a Topology object with the same roots as the PostponedTopology object should be specified. Example:
The function.BasisArgument(name) object is a function.Array with unspecified coefficients and dofs, to be specified upon evaluation by assigning a function.Basis object to name via evalargs, similar to function.Argument. The namespace gains notation for creating a BasisArgument: #name_n is notation for BasisArgument('name'). Example:
This paves the way for a general purpose goal adaptivity helper function that performs the solves, refinements and projections based on an initial topology, a residual, a goal and a callback for generating the required bases.
The text was updated successfully, but these errors were encountered:
Problem
Scripts with hierarchical topologies are require residuals and namespaces to be redefined for each new topology. A typical script looks like:
Proposal
Add
PostponedTopology
as a postponedTopology
andBasisArgument
as postponedBasis
. ThePostponedTopology
is identified by one or more roots. Example:The
PostponedTopology
supports boundaries, interfaces and groups, returningPostponedTopology
objects, and integrals, returningPostponedIntegral
objects. Upon evaluation of aPostponedIntegral
aTopology
object with the same roots as thePostponedTopology
object should be specified. Example:The
function.BasisArgument(name)
object is afunction.Array
with unspecified coefficients and dofs, to be specified upon evaluation by assigning afunction.Basis
object toname
via evalargs, similar tofunction.Argument
. The namespace gains notation for creating aBasisArgument
:#name_n
is notation forBasisArgument('name')
. Example:Hierarchical example:
This paves the way for a general purpose goal adaptivity helper function that performs the solves, refinements and projections based on an initial topology, a residual, a goal and a callback for generating the required bases.
The text was updated successfully, but these errors were encountered: