NOX Development
Loading...
Searching...
No Matches
NOX::Epetra::AdaptiveSolutionManager Class Referenceabstract
Inheritance diagram for NOX::Epetra::AdaptiveSolutionManager:

Public Member Functions

 AdaptiveSolutionManager (const int number_of_time_derivatives, const Teuchos::RCP< const Epetra_Map > &map_, const Teuchos::RCP< const Epetra_Map > &overlapMap_, const Teuchos::RCP< const Epetra_CrsGraph > &overlapJacGraph_)
virtual bool adaptProblem ()=0
 Apply adaptation method to mesh and problem. Returns true if adaptation is performed successfully.
virtual Epetra_VectorgetOverlapSolution (const Epetra_Vector &solution)
 Accessor function to Epetra_Import the solution from other PEs for output.
virtual Teuchos::RCP< NOX::Epetra::AdaptManagergetAdaptManager ()
 Function to get the active AdaptManager.
virtual void resizeMeshDataArrays (const Teuchos::RCP< const Epetra_Map > &map, const Teuchos::RCP< const Epetra_Map > &overlapMap, const Teuchos::RCP< const Epetra_CrsGraph > &overlapJacGraph)
 Function to resize the data structures when adapting.
virtual Teuchos::RCP< const Epetra_VectorgetInitialSolution () const
 Accessor functions.
virtual Teuchos::RCP< Epetra_Vector > & get_initial_x ()
virtual void setInitialSolution (const Teuchos::RCP< Epetra_Vector > &soln_)
virtual Teuchos::RCP< const Epetra_VectorgetInitialSolutionDot () const
virtual Teuchos::RCP< Epetra_Vector > & get_initial_xdot ()
virtual Teuchos::RCP< const Epetra_VectorgetInitialSolutionDotDot () const
virtual Teuchos::RCP< Epetra_Vector > & get_initial_xdotdot ()
virtual Teuchos::RCP< Epetra_Vector > & get_overlapped_x ()
virtual Teuchos::RCP< Epetra_Vector > & get_overlapped_xdot ()
virtual Teuchos::RCP< Epetra_Vector > & get_overlapped_xdotdot ()
virtual Teuchos::RCP< Epetra_Vector > & get_overlapped_f ()
virtual Teuchos::RCP< Epetra_CrsMatrix > & get_overlapped_jac ()
virtual Teuchos::RCP< Epetra_Import > & get_importer ()
virtual Teuchos::RCP< Epetra_Export > & get_exporter ()

Protected Attributes

Teuchos::RCP< Epetra_Vectorinitial_x
 Initial solution vector.
Teuchos::RCP< Epetra_Vectorinitial_xdot
 Initial solution vector.
Teuchos::RCP< Epetra_Vectorinitial_xdotdot
 Initial solution vector.
Teuchos::RCP< Epetra_Importimporter
 Importer for overlapped data.
Teuchos::RCP< Epetra_Exportexporter
 Exporter for overlapped data.
Teuchos::RCP< Epetra_Vectoroverlapped_x
 Overlapped solution vector.
Teuchos::RCP< Epetra_Vectoroverlapped_xdot
 Overlapped time derivative vector.
Teuchos::RCP< Epetra_Vectoroverlapped_xdotdot
 Overlapped time acceleration vector.
Teuchos::RCP< Epetra_Vectoroverlapped_f
 Overlapped residual vector.
Teuchos::RCP< Epetra_CrsMatrixoverlapped_jac
 Overlapped Jacobian matrix.
Teuchos::RCP< Epetra_Vectortmp_ovlp_sol
 Temporary overlapped solution vector (for output).
Teuchos::RCP< NOX::Epetra::AdaptManageradaptManager
 The adaptation manager - makes the call to adapt the mesh.
Teuchos::RCP< NOX::Epetra::VectorcurrentSolution
 Current solution vector.
const int num_time_deriv
 Number of time derivatives (x - 0, x_dot - 1, x_dotdot - 2).

Member Function Documentation

◆ adaptProblem()

virtual bool NOX::Epetra::AdaptiveSolutionManager::adaptProblem ( )
pure virtual

Apply adaptation method to mesh and problem. Returns true if adaptation is performed successfully.

References getOverlapSolution().

◆ getAdaptManager()

virtual Teuchos::RCP< NOX::Epetra::AdaptManager > NOX::Epetra::AdaptiveSolutionManager::getAdaptManager ( )
inlinevirtual

Function to get the active AdaptManager.

References adaptManager.

◆ getInitialSolution()

virtual Teuchos::RCP< const Epetra_Vector > NOX::Epetra::AdaptiveSolutionManager::getInitialSolution ( ) const
inlinevirtual

Accessor functions.

References initial_x.

◆ getOverlapSolution()

Epetra_Vector * NOX::Epetra::AdaptiveSolutionManager::getOverlapSolution ( const Epetra_Vector & solution)
virtual

Accessor function to Epetra_Import the solution from other PEs for output.

References Epetra_DistObject::Import(), importer, and tmp_ovlp_sol.

Referenced by adaptProblem().

◆ resizeMeshDataArrays()

void NOX::Epetra::AdaptiveSolutionManager::resizeMeshDataArrays ( const Teuchos::RCP< const Epetra_Map > & map,
const Teuchos::RCP< const Epetra_Map > & overlapMap,
const Teuchos::RCP< const Epetra_CrsGraph > & overlapJacGraph )
virtual

Member Data Documentation

◆ adaptManager

Teuchos::RCP<NOX::Epetra::AdaptManager> NOX::Epetra::AdaptiveSolutionManager::adaptManager
protected

The adaptation manager - makes the call to adapt the mesh.

Referenced by getAdaptManager().

◆ currentSolution

Teuchos::RCP<NOX::Epetra::Vector> NOX::Epetra::AdaptiveSolutionManager::currentSolution
protected

Current solution vector.

Referenced by LOCA::Epetra::AdaptiveSolutionManager::projectCurrentSolution().

◆ exporter

Teuchos::RCP<Epetra_Export> NOX::Epetra::AdaptiveSolutionManager::exporter
protected

Exporter for overlapped data.

Referenced by resizeMeshDataArrays().

◆ importer

Teuchos::RCP<Epetra_Import> NOX::Epetra::AdaptiveSolutionManager::importer
protected

Importer for overlapped data.

Referenced by getOverlapSolution(), and resizeMeshDataArrays().

◆ initial_x

Teuchos::RCP<Epetra_Vector> NOX::Epetra::AdaptiveSolutionManager::initial_x
protected

Initial solution vector.

Referenced by getInitialSolution().

◆ initial_xdot

Teuchos::RCP<Epetra_Vector> NOX::Epetra::AdaptiveSolutionManager::initial_xdot
protected

Initial solution vector.

Referenced by resizeMeshDataArrays().

◆ initial_xdotdot

Teuchos::RCP<Epetra_Vector> NOX::Epetra::AdaptiveSolutionManager::initial_xdotdot
protected

Initial solution vector.

Referenced by resizeMeshDataArrays().

◆ num_time_deriv

const int NOX::Epetra::AdaptiveSolutionManager::num_time_deriv
protected

Number of time derivatives (x - 0, x_dot - 1, x_dotdot - 2).

Referenced by resizeMeshDataArrays().

◆ overlapped_f

Teuchos::RCP<Epetra_Vector> NOX::Epetra::AdaptiveSolutionManager::overlapped_f
protected

Overlapped residual vector.

Referenced by resizeMeshDataArrays().

◆ overlapped_jac

Teuchos::RCP<Epetra_CrsMatrix> NOX::Epetra::AdaptiveSolutionManager::overlapped_jac
protected

Overlapped Jacobian matrix.

Referenced by resizeMeshDataArrays().

◆ overlapped_x

Teuchos::RCP<Epetra_Vector> NOX::Epetra::AdaptiveSolutionManager::overlapped_x
protected

Overlapped solution vector.

Referenced by resizeMeshDataArrays().

◆ overlapped_xdot

Teuchos::RCP<Epetra_Vector> NOX::Epetra::AdaptiveSolutionManager::overlapped_xdot
protected

Overlapped time derivative vector.

Referenced by resizeMeshDataArrays().

◆ overlapped_xdotdot

Teuchos::RCP<Epetra_Vector> NOX::Epetra::AdaptiveSolutionManager::overlapped_xdotdot
protected

Overlapped time acceleration vector.

Referenced by resizeMeshDataArrays().

◆ tmp_ovlp_sol

Teuchos::RCP<Epetra_Vector> NOX::Epetra::AdaptiveSolutionManager::tmp_ovlp_sol
protected

Temporary overlapped solution vector (for output).

Referenced by getOverlapSolution(), and resizeMeshDataArrays().


The documentation for this class was generated from the following files: