ceed-vector.c (60224bc541fd55b59daf56d957e93315ca03a274) ceed-vector.c (9932a2afa242bd4abc454ccf5a69a8315f76e5b0)
1// Copyright (c) 2017, Lawrence Livermore National Security, LLC. Produced at
2// the Lawrence Livermore National Laboratory. LLNL-CODE-734707. All Rights
3// reserved. See files LICENSE and NOTICE for details.
4//
5// This file is part of CEED, a collection of benchmarks, miniapps, software
6// libraries and APIs for efficient high-order finite element and spectral
7// element discretizations for exascale applications. For more information and
8// source code availability see http://github.com/ceed.

--- 545 unchanged lines hidden (view full) ---

554
555 ierr = vec->GetArrayWrite(vec, mem_type, array); CeedChk(ierr);
556 vec->state++;
557 return CEED_ERROR_SUCCESS;
558}
559
560/**
561 @brief Restore an array obtained using @ref CeedVectorGetArray()
1// Copyright (c) 2017, Lawrence Livermore National Security, LLC. Produced at
2// the Lawrence Livermore National Laboratory. LLNL-CODE-734707. All Rights
3// reserved. See files LICENSE and NOTICE for details.
4//
5// This file is part of CEED, a collection of benchmarks, miniapps, software
6// libraries and APIs for efficient high-order finite element and spectral
7// element discretizations for exascale applications. For more information and
8// source code availability see http://github.com/ceed.

--- 545 unchanged lines hidden (view full) ---

554
555 ierr = vec->GetArrayWrite(vec, mem_type, array); CeedChk(ierr);
556 vec->state++;
557 return CEED_ERROR_SUCCESS;
558}
559
560/**
561 @brief Restore an array obtained using @ref CeedVectorGetArray()
562 or @ref CeedVectorGetArrayWrite()
562
563 @param vec CeedVector to restore
564 @param array Array of vector data
565
566 @return An error code: 0 - success, otherwise - failure
567
568 @ref User
569**/

--- 447 unchanged lines hidden ---
563
564 @param vec CeedVector to restore
565 @param array Array of vector data
566
567 @return An error code: 0 - success, otherwise - failure
568
569 @ref User
570**/

--- 447 unchanged lines hidden ---