#include <projection.h>
Public Member Functions | |
void | enable_suppress_output_during_projection () |
Suppress all output during projection phases. More... | |
void | disable_suppress_output_during_projection () |
Undo suppression of all output during projection phases. More... | |
bool | use_iterative_solver_for_projection () |
void | enable_use_iterative_solver_for_projection () |
Enables the use of an iterative solver for projection. More... | |
void | disable_use_iterative_solver_for_projection () |
Disbales the use of an iterative solver for projection. More... | |
void | project (Mesh *base_mesh_pt, const bool &dont_project_positions=false) |
Project from base into the problem's own mesh. More... | |
Private Member Functions | |
ProjectionProblem () | |
~ProjectionProblem () | |
void | store_positions () |
Helper function to store positions (the only things that have been set before doing projection. More... | |
void | restore_positions () |
Helper function to restore positions (the only things that have been set before doing projection. More... | |
void | pin_all () |
Pin all the field values and position unknowns (bit inefficient) More... | |
void | unpin_all () |
Unpin all the field values and position unknowns (bit inefficient) More... | |
void | unpin_dofs_of_coordinate (const unsigned &coord) |
Helper function to unpin the values of coordinate coord. More... | |
void | pin_dofs_of_coordinate (const unsigned &coord) |
Helper function to unpin the values of coordinate coord. More... | |
void | unpin_dofs_of_field (const unsigned &fld) |
Helper function to unpin dofs of fld-th field. More... | |
void | pin_dofs_of_field (const unsigned &fld) |
Helper function to unpin dofs of fld-th field. More... | |
void | set_time_level_for_projection (const unsigned &time_level) |
Helper function to set time level for projection. More... | |
void | set_coordinate_for_projection (const unsigned &i) |
Set the coordinate for projection. More... | |
void | set_lagrangian_coordinate_for_projection (const unsigned &i) |
Set the Lagrangian coordinate for projection. More... | |
void | set_current_field_for_projection (const unsigned &fld) |
Set current field for projection. More... | |
Private Attributes | |
Vector< DenseMatrix< double > > | Solid_backup |
Backup for pin status of solid node's position Data. More... | |
bool | Output_during_projection_suppressed |
Flag to suppress output during projection. More... | |
bool | Use_iterative_solver_for_projection |
IterativeLinearSolver * | Iterative_solver_projection_pt |
Preconditioner * | Preconditioner_projection_pt |
Friends | |
template<class FRIEND_PROJECTABLE_ELEMENT > | |
class | RefineableTriangleMesh |
template<class FRIEND_PROJECTABLE_ELEMENT > | |
class | RefineableTetgenMesh |
template<class FRIEND_PROJECTABLE_ELEMENT > | |
class | BackupMeshForProjection |
template<class FRIEND_PROJECTABLE_ELEMENT > | |
class | RefineableGmshTetMesh |
Projection problem. This is created during the adaptation of unstructured meshes and it is assumed that no boundary conditions have been set. If they have, they will be unset during the projection and must be reset afterwards.
Definition at line 680 of file projection.h.
|
inlineprivate |
Default constructor (made this private so only the friend class can call the constructor)
Definition at line 1350 of file projection.h.
|
inlineprivate |
Definition at line 1369 of file projection.h.
|
inline |
Undo suppression of all output during projection phases.
Definition at line 707 of file projection.h.
|
inline |
Disbales the use of an iterative solver for projection.
Definition at line 722 of file projection.h.
|
inline |
Suppress all output during projection phases.
Definition at line 701 of file projection.h.
|
inline |
Enables the use of an iterative solver for projection.
Definition at line 718 of file projection.h.
|
inlineprivate |
Pin all the field values and position unknowns (bit inefficient)
Do we have a solid mesh?
Definition at line 1467 of file projection.h.
|
inlineprivate |
Helper function to unpin the values of coordinate coord.
Definition at line 1623 of file projection.h.
|
inlineprivate |
Helper function to unpin dofs of fld-th field.
Definition at line 1670 of file projection.h.
|
inline |
Project from base into the problem's own mesh.
Disable documentation of solve times
Definition at line 726 of file projection.h.
References oomph::ProjectableElementBase::nfields_for_projection(), oomph::ProjectableElementBase::nhistory_values_for_coordinate_projection(), and oomph::ProjectableElementBase::nhistory_values_for_projection().
|
inlineprivate |
Helper function to restore positions (the only things that have been set before doing projection.
Definition at line 1430 of file projection.h.
|
inlineprivate |
Set the coordinate for projection.
Definition at line 1706 of file projection.h.
|
inlineprivate |
Set current field for projection.
Definition at line 1742 of file projection.h.
|
inlineprivate |
Set the Lagrangian coordinate for projection.
Definition at line 1724 of file projection.h.
|
inlineprivate |
Helper function to set time level for projection.
Definition at line 1691 of file projection.h.
|
inlineprivate |
Helper function to store positions (the only things that have been set before doing projection.
Definition at line 1389 of file projection.h.
|
inlineprivate |
Unpin all the field values and position unknowns (bit inefficient)
Do we have a solid mesh?
Definition at line 1534 of file projection.h.
|
inlineprivate |
Helper function to unpin the values of coordinate coord.
Definition at line 1598 of file projection.h.
|
inlineprivate |
Helper function to unpin dofs of fld-th field.
Definition at line 1649 of file projection.h.
|
inline |
Return the value of the flag about using an iterative solver for projection
Definition at line 714 of file projection.h.
|
friend |
Definition at line 688 of file projection.h.
|
friend |
Definition at line 689 of file projection.h.
|
friend |
Definition at line 687 of file projection.h.
|
friend |
Definition at line 686 of file projection.h.
|
private |
Definition at line 1768 of file projection.h.
|
private |
Flag to suppress output during projection.
Definition at line 1762 of file projection.h.
|
private |
Definition at line 1771 of file projection.h.
|
private |
Backup for pin status of solid node's position Data.
Definition at line 1759 of file projection.h.
|
private |
Definition at line 1765 of file projection.h.