Skip to content

Commit

Permalink
Removed bugs in EFEBasisOnTheFlyComputeDealii
Browse files Browse the repository at this point in the history
  • Loading branch information
Avirup Sircar committed Nov 7, 2024
1 parent 96d07d3 commit cba65e6
Show file tree
Hide file tree
Showing 4 changed files with 242 additions and 171 deletions.
3 changes: 2 additions & 1 deletion src/basis/CFEBDSOnTheFlyComputeDealii.t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,8 @@ namespace dftefe
.find(BasisStorageAttributes::StoreHessian)
->second)
{
std::cout << "Store Hessian is not memory optimized in CFEOnTheFlyComputeDealii.h. Contact developers for making it optimal.";
std::cout
<< "Store Hessian is not memory optimized in CFEOnTheFlyComputeDealii.h. Contact developers for making it optimal.";
basisHessianQuadStorage =
std::make_shared<typename BasisDataStorage<ValueTypeBasisData,
memorySpace>::Storage>(
Expand Down
14 changes: 9 additions & 5 deletions src/basis/EFEBDSOnTheFlyComputeDealii.h
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,10 @@ namespace dftefe

private:
bool d_evaluateBasisData;
std::shared_ptr<
const EFEBasisDofHandlerDealii<ValueTypeBasisCoeff, ValueTypeBasisData, memorySpace, dim>>
std::shared_ptr<const EFEBasisDofHandlerDealii<ValueTypeBasisCoeff,
ValueTypeBasisData,
memorySpace,
dim>>
d_efeBDH;
std::shared_ptr<const quadrature::QuadratureRuleContainer>
d_quadratureRuleContainer;
Expand All @@ -233,9 +235,11 @@ namespace dftefe
size_type d_maxCellBlock;
std::shared_ptr<Storage> d_tmpGradientBlock;
linearAlgebra::LinAlgOpContext<memorySpace> &d_linAlgOpContext;
size_type d_classialDofsInCell;
std::unordered_map<size_type, std::shared_ptr<
typename BasisDataStorage<ValueTypeBasisData, memorySpace>::Storage>>
size_type d_classialDofsInCell;
std::unordered_map<
size_type,
std::shared_ptr<
typename BasisDataStorage<ValueTypeBasisData, memorySpace>::Storage>>
d_basisGradientEnrichQuadStorageMap, d_basisEnrichQuadStorageMap;

}; // end of EFEBDSOnTheFlyComputeDealii
Expand Down
Loading

0 comments on commit cba65e6

Please sign in to comment.