MoReFEM
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes
MoReFEM::FindCoordsOfGlobalVector Class Reference

Returns for a global vector a vector if equal size with the Coords on which each dofs are located. More...

#include <FindCoordsOfGlobalVector.hpp>

Collaboration diagram for MoReFEM::FindCoordsOfGlobalVector:

Public Types

using self = FindCoordsOfGlobalVector
 Alias to the type of the class.
 
using const_unique_ptr = std::unique_ptr<const self>
 Alias to unique pointer.
 

Public Member Functions

const Coords::vector_shared_ptrGetCoordsList () const noexcept
 Get the list of coordinates.
 
Special members.
 FindCoordsOfGlobalVector (const FEltSpace &felt_space, const GlobalVector &global_vector)
 
 ~FindCoordsOfGlobalVector ()=default
 Destructor.
 
 FindCoordsOfGlobalVector (const FindCoordsOfGlobalVector &rhs)=delete
 The copy constructor.
 
 FindCoordsOfGlobalVector (FindCoordsOfGlobalVector &&rhs)=delete
 The move constructor.
 
FindCoordsOfGlobalVectoroperator= (const FindCoordsOfGlobalVector &rhs)=delete
 The (copy) operator=.
 
FindCoordsOfGlobalVectoroperator= (FindCoordsOfGlobalVector &&rhs)=delete
 The (move) operator=.
 

Private Attributes

Coords::vector_shared_ptr coords_list_
 Coords for each of the dofs covered by the numbering subset in the finite element space.
 

Detailed Description

Returns for a global vector a vector if equal size with the Coords on which each dofs are located.

This operation is purely processor-wise.

Attention
At the time being, it is rather crude: it works only for P1. It could be extended relatively easily to P1b, P2, P0, etc... by computing a Coords object at the barycenter of the interface (not done yet as the model that requires this class is purely P1). Higher order is more difficult, as a decision has to be made on the spatial position given to each node of the node bearer_.

Member Typedef Documentation

◆ self

Alias to the type of the class.

Constructor & Destructor Documentation

◆ FindCoordsOfGlobalVector() [1/3]

MoReFEM::FindCoordsOfGlobalVector::FindCoordsOfGlobalVector ( const FEltSpace & felt_space,
const GlobalVector & global_vector )
explicit

Constructor.

Parameters
[in]felt_spaceFEltSpace used as filter.
[in]global_vectorGlobalVector for which Coords are retrieved.

◆ FindCoordsOfGlobalVector() [2/3]

MoReFEM::FindCoordsOfGlobalVector::FindCoordsOfGlobalVector ( const FindCoordsOfGlobalVector & rhs)
delete

The copy constructor.

Parameters
[in]rhsThe object from which the construction occurs.

◆ FindCoordsOfGlobalVector() [3/3]

MoReFEM::FindCoordsOfGlobalVector::FindCoordsOfGlobalVector ( FindCoordsOfGlobalVector && rhs)
delete

The move constructor.

Parameters
[in]rhsThe object from which the construction occurs.

Member Function Documentation

◆ operator=() [1/2]

FindCoordsOfGlobalVector & MoReFEM::FindCoordsOfGlobalVector::operator= ( const FindCoordsOfGlobalVector & rhs)
delete

The (copy) operator=.

Parameters
[in]rhsThe object from which the affectation occurs.
Returns
Reference to the object (to enable chained affectation).

◆ operator=() [2/2]

FindCoordsOfGlobalVector & MoReFEM::FindCoordsOfGlobalVector::operator= ( FindCoordsOfGlobalVector && rhs)
delete

The (move) operator=.

Parameters
[in]rhsThe object from which the affectation occurs.
Returns
Reference to the object (to enable chained affectation).

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