Commit 94b450b8 authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#1680 Tying point policies tests is now functional.

parent acf1d9f4
Pipeline #352204 failed with stages
in 43 minutes and 45 seconds
......@@ -470,21 +470,7 @@ namespace MoReFEM
throw ExceptionNS::Exception(error_code, "VecView", invoking_file, invoking_line);
}
void Vector::Load(const Mpi& mpi,
const std::string& input_file,
const char* invoking_file,
int invoking_line,
PetscViewerFormat format)
{
Viewer viewer(mpi, input_file, format, FILE_MODE_READ, invoking_file, invoking_line);
int error_code = VecLoad(Internal(), viewer.GetUnderlyingPetscObject());
if (error_code)
throw ExceptionNS::Exception(error_code, "VecLoad", invoking_file, invoking_line);
}
void GatherVector(const Mpi& mpi,
const Wrappers::Petsc::Vector& local_parallel_vector,
Wrappers::Petsc::Vector& sequential_vector,
......
......@@ -659,23 +659,6 @@ namespace MoReFEM
int invoking_line,
binary_or_ascii binary_or_ascii_choice = binary_or_ascii::from_input_data) const;
/*!
* \brief Wrapper over VecLoad in the case the viewer is a file.
*
* \param[in] format Format in which the matrix is loaded. See Petsc manual pages to get all the
* formats available; relevant ones so far are PETSC_VIEWER_DEFAULT and PETSC_VIEWER_ASCII_MATLAB.
* \param[in] invoking_file File that invoked the function or class; usually __FILE__.
* \param[in] invoking_line File that invoked the function or class; usually __LINE__.
* \param[in] mpi Mpi object which knows the rank of the processor, the total number of processors, etc...
* \param[in] input_file File into which the vector content will be loaded.
*/
void Load(const Mpi& mpi,
const std::string& input_file,
const char* invoking_file,
int invoking_line,
PetscViewerFormat format = PETSC_VIEWER_DEFAULT);
/*!
* \brief Get the minimum.
*
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment