|
| | VCSCViscousOperator (std::string object_name, bool homogeneous_bc=true) |
| | Constructor for class VCSCViscousOperator initializes the operator coefficients and boundary conditions to default values. More...
|
| |
| | ~VCSCViscousOperator () |
| | Destructor. More...
|
| |
| virtual void | setPoissonSpecifications (const SAMRAI::solv::PoissonSpecifications &poisson_spec) |
| | Set the SAMRAI::solv::PoissonSpecifications object used to specify the coefficients for the scalar-valued or vector-valued Laplace operator. More...
|
| |
| virtual const SAMRAI::solv::PoissonSpecifications & | getPoissonSpecifications () const |
| | Get the SAMRAI::solv::PoissonSpecifications object used to specify the coefficients for the scalar-valued or vector-valued Laplace operator. More...
|
| |
| virtual void | setPhysicalBcCoef (SAMRAI::solv::RobinBcCoefStrategy< NDIM > *bc_coef) |
| | Set the SAMRAI::solv::RobinBcCoefStrategy object used to specify physical boundary conditions. More...
|
| |
| virtual void | setPhysicalBcCoefs (const std::vector< SAMRAI::solv::RobinBcCoefStrategy< NDIM > * > &bc_coefs) |
| | Set the SAMRAI::solv::RobinBcCoefStrategy objects used to specify physical boundary conditions. More...
|
| |
| virtual const std::vector< SAMRAI::solv::RobinBcCoefStrategy< NDIM > * > & | getPhysicalBcCoefs () const |
| | Get the SAMRAI::solv::RobinBcCoefStrategy object(s) used to specify physical boundary conditions. More...
|
| |
|
| void | modifyRhsForBcs (SAMRAI::solv::SAMRAIVectorReal< NDIM, double > &y) override |
| | Modify y to account for boundary conditions. More...
|
| |
|
| const std::string & | getName () const |
| | Return the object name. More...
|
| |
| virtual bool | getIsInitialized () const |
| | Return whether the operator is initialized. More...
|
| |
| virtual void | setHomogeneousBc (bool homogeneous_bc) |
| | Set whether the operator should use homogeneous boundary conditions. More...
|
| |
| virtual bool | getHomogeneousBc () const |
| | Return whether the operator is using homogeneous boundary conditions. More...
|
| |
| virtual void | setSolutionTime (double solution_time) |
| | Set the time at which the solution is to be evaluated. More...
|
| |
| virtual double | getSolutionTime () const |
| | Get the time at which the solution is being evaluated. More...
|
| |
| virtual void | setTimeInterval (double current_time, double new_time) |
| | Set the current time interval. More...
|
| |
| virtual std::pair< double, double > | getTimeInterval () const |
| | Get the current time interval. More...
|
| |
| virtual double | getDt () const |
| | Get the current time step size. More...
|
| |
| virtual void | setHierarchyMathOps (SAMRAI::tbox::Pointer< HierarchyMathOps > hier_math_ops) |
| | Set the HierarchyMathOps object used by the operator. More...
|
| |
| virtual SAMRAI::tbox::Pointer< HierarchyMathOps > | getHierarchyMathOps () const |
| | Get the HierarchyMathOps object used by the operator. More...
|
| |
| virtual void | applyAdd (SAMRAI::solv::SAMRAIVectorReal< NDIM, double > &x, SAMRAI::solv::SAMRAIVectorReal< NDIM, double > &y, SAMRAI::solv::SAMRAIVectorReal< NDIM, double > &z) |
| | Compute \(z=F[x]+y\). More...
|
| |
| virtual void | imposeSolBcs (SAMRAI::solv::SAMRAIVectorReal< NDIM, double > &u) |
| | Impose boudary conditions in the solution vector. More...
|
| |
Here \( u \) and \( C \) are vector valued side-centered fields and \( \mu \) is a node-(2D) or edge-(3D) centered scalar field.
The scaling factors of \( C \) and \( \mu \) variables are passed separately and are denoted by \( \beta \) and \( \alpha \), respectively.
Before calling this function, the form of the vectors x and y should be set properly by the user on all patch interiors on the range of levels covered by the operator. All data in these vectors should be allocated. Thus, the user is responsible for managing the storage for the vectors.
Conditions on arguments:
- vectors must have same hierarchy
- vectors must have same variables (except that x must have enough ghost cells for computation of Ax).
- Note
- In general, the vectors x and y cannot be the same.
Upon return from this function, the y vector will contain the result of the application of A to x.
initializeOperatorState must be called prior to any calls to applyOperator.
- See also
- initializeOperatorState
- Parameters
-
Reimplemented from IBTK::SCLaplaceOperator.
Before calling applyAdd(), the form of the vectors x, y, and z should be set properly by the user on all patch interiors on the specified range of levels in the patch hierarchy. The user is responsible for all data management for the quantities associated with the vectors. In particular, patch data in these vectors must be allocated prior to calling this method.
- Parameters
-
| x | input vector |
| y | input vector |
| z | output vector, i.e., \(z=F[x]+y\) |
Conditions on Parameters:
- vectors x, y, and z must have same hierarchy
- vectors x, y, and z must have same structure, depth, etc.
In general, the vectors x and y cannot be the same.
- Note
- Subclasses may require that the operator be initialized prior to calling applyAdd().
- See also
- initializeOperatorState
- Note
- A default implementation is provided which employs apply() and SAMRAI::solv::SAMRAIVectorReal::add().
Reimplemented in IBTK::PETScSNESJacobianJOWrapper, and IBTK::PETScMatLOWrapper.