Commit 398fab85 authored by GILLES Sebastien's avatar GILLES Sebastien

#1520 Review: add new files in XCode and fix comments and style.

parent fd32d061
......@@ -1398,6 +1398,12 @@
BE9BB77D1CCF67550056B1B8 /* QuadratureRulePerTopology.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BE9BB77A1CCF67550056B1B8 /* QuadratureRulePerTopology.cpp */; };
BE9BB77E1CCF67550056B1B8 /* QuadratureRulePerTopology.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BE9BB77B1CCF67550056B1B8 /* QuadratureRulePerTopology.hpp */; };
BE9BB77F1CCF67550056B1B8 /* QuadratureRulePerTopology.hxx in Headers */ = {isa = PBXBuildFile; fileRef = BE9BB77C1CCF67550056B1B8 /* QuadratureRulePerTopology.hxx */; };
BE9E2E7E24A22F3B00AA6678 /* GlobalCoordsQuadPoints.hxx in Headers */ = {isa = PBXBuildFile; fileRef = BE9E2E7B24A22F3A00AA6678 /* GlobalCoordsQuadPoints.hxx */; };
BE9E2E7F24A22F3B00AA6678 /* GlobalCoordsQuadPoints.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BE9E2E7C24A22F3B00AA6678 /* GlobalCoordsQuadPoints.cpp */; };
BE9E2E8024A22F3B00AA6678 /* GlobalCoordsQuadPoints.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BE9E2E7D24A22F3B00AA6678 /* GlobalCoordsQuadPoints.hpp */; };
BE9E2E8424A22F4A00AA6678 /* GlobalCoordsQuadPoints.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BE9E2E8124A22F4A00AA6678 /* GlobalCoordsQuadPoints.hpp */; };
BE9E2E8524A22F4A00AA6678 /* GlobalCoordsQuadPoints.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BE9E2E8224A22F4A00AA6678 /* GlobalCoordsQuadPoints.cpp */; };
BE9E2E8624A22F4A00AA6678 /* GlobalCoordsQuadPoints.hxx in Headers */ = {isa = PBXBuildFile; fileRef = BE9E2E8324A22F4A00AA6678 /* GlobalCoordsQuadPoints.hxx */; };
BE9EA61B1C89F50900836E0E /* ParameterAtDof.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BE9EA61A1C89F50900836E0E /* ParameterAtDof.hpp */; };
BEA4AF12246059D200669BBB /* WritePrepartitionedData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BEA4AF0F246059D200669BBB /* WritePrepartitionedData.cpp */; };
BEA4AF13246059D200669BBB /* WritePrepartitionedData.hxx in Headers */ = {isa = PBXBuildFile; fileRef = BEA4AF10246059D200669BBB /* WritePrepartitionedData.hxx */; };
......@@ -4331,6 +4337,12 @@
BE9E2E7824A0CC4700AA6678 /* CMakeLists.txt */ = {isa = PBXFileReference; lastKnownFileType = text; name = CMakeLists.txt; path = Sources/Test/ThirdParty/PETSc/Matrix/MatEqual/CMakeLists.txt; sourceTree = SOURCE_ROOT; };
BE9E2E7924A0CC8B00AA6678 /* main.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = main.cpp; path = Sources/Test/ThirdParty/PETSc/Matrix/MatEqual/main.cpp; sourceTree = SOURCE_ROOT; };
BE9E2E7A24A0CCA500AA6678 /* demo.lua */ = {isa = PBXFileReference; lastKnownFileType = text; name = demo.lua; path = Sources/Test/ThirdParty/PETSc/Matrix/MatEqual/demo.lua; sourceTree = SOURCE_ROOT; };
BE9E2E7B24A22F3A00AA6678 /* GlobalCoordsQuadPoints.hxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = GlobalCoordsQuadPoints.hxx; sourceTree = "<group>"; };
BE9E2E7C24A22F3B00AA6678 /* GlobalCoordsQuadPoints.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GlobalCoordsQuadPoints.cpp; sourceTree = "<group>"; };
BE9E2E7D24A22F3B00AA6678 /* GlobalCoordsQuadPoints.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = GlobalCoordsQuadPoints.hpp; sourceTree = "<group>"; };
BE9E2E8124A22F4A00AA6678 /* GlobalCoordsQuadPoints.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = GlobalCoordsQuadPoints.hpp; sourceTree = "<group>"; };
BE9E2E8224A22F4A00AA6678 /* GlobalCoordsQuadPoints.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GlobalCoordsQuadPoints.cpp; sourceTree = "<group>"; };
BE9E2E8324A22F4A00AA6678 /* GlobalCoordsQuadPoints.hxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = GlobalCoordsQuadPoints.hxx; sourceTree = "<group>"; };
BE9EA61A1C89F50900836E0E /* ParameterAtDof.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = ParameterAtDof.hpp; sourceTree = "<group>"; };
BE9FE80918CE0A6900177F79 /* Libmesh.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Libmesh.cpp; sourceTree = "<group>"; };
BE9FE80A18CE0A6900177F79 /* Libmesh.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = Libmesh.hpp; sourceTree = "<group>"; };
......@@ -7181,6 +7193,9 @@
BE4520A81DAFBACC00807035 /* UpdateFiberDeformation.cpp */,
BE4520A91DAFBACC00807035 /* UpdateFiberDeformation.hpp */,
BE4520AA1DAFBACC00807035 /* UpdateFiberDeformation.hxx */,
BE9E2E7C24A22F3B00AA6678 /* GlobalCoordsQuadPoints.cpp */,
BE9E2E7D24A22F3B00AA6678 /* GlobalCoordsQuadPoints.hpp */,
BE9E2E7B24A22F3A00AA6678 /* GlobalCoordsQuadPoints.hxx */,
BE4520A41DAFBACC00807035 /* Local */,
);
path = ParameterOperator;
......@@ -7195,6 +7210,9 @@
BE4520A51DAFBACC00807035 /* UpdateFiberDeformation.cpp */,
BE4520A61DAFBACC00807035 /* UpdateFiberDeformation.hpp */,
BE4520A71DAFBACC00807035 /* UpdateFiberDeformation.hxx */,
BE9E2E8224A22F4A00AA6678 /* GlobalCoordsQuadPoints.cpp */,
BE9E2E8124A22F4A00AA6678 /* GlobalCoordsQuadPoints.hpp */,
BE9E2E8324A22F4A00AA6678 /* GlobalCoordsQuadPoints.hxx */,
);
path = Local;
sourceTree = "<group>";
......@@ -11210,6 +11228,7 @@
BE7D649B2359068200A59EE3 /* FollowingPressure.hpp in Headers */,
BE7D64EB235906FB00A59EE3 /* Ale.hxx in Headers */,
BE7D64C6235906CA00A59EE3 /* UpdateFiberDeformation.hpp in Headers */,
BE9E2E7E24A22F3B00AA6678 /* GlobalCoordsQuadPoints.hxx in Headers */,
BE7D64D7235906D700A59EE3 /* P1_to_P2.hpp in Headers */,
BE7D64AF235906AE00A59EE3 /* NonlinearMembrane.hxx in Headers */,
BE8C372C1DB50FB500919468 /* Viscoelasticity.hpp in Headers */,
......@@ -11224,6 +11243,7 @@
BE7C94761F604ED7003D2C52 /* MitchellSchaeffer.hpp in Headers */,
BE8C36D41DB50FB500919468 /* GradOnGradientBasedElasticityTensor.hxx in Headers */,
0223E5E72412653B00B36E0A /* DifferentCauchyGreenMixedSolidIncompressibility.hpp in Headers */,
BE9E2E8024A22F3B00AA6678 /* GlobalCoordsQuadPoints.hpp in Headers */,
BE7D64BD235906C500A59EE3 /* UpdateFiberDeformation.hpp in Headers */,
BE7D649E2359068200A59EE3 /* SecondPiolaKirchhoffStressTensor.hxx in Headers */,
BE8C37201DB50FB500919468 /* Hyperelasticity.hpp in Headers */,
......@@ -11266,6 +11286,8 @@
BE8C371F1DB50FB500919468 /* None.hpp in Headers */,
BEE45C082357804F00E0AB7C /* Stokes.hxx in Headers */,
BE7D64EE235906FB00A59EE3 /* Bidomain.hxx in Headers */,
BE9E2E8424A22F4A00AA6678 /* GlobalCoordsQuadPoints.hpp in Headers */,
BE9E2E8624A22F4A00AA6678 /* GlobalCoordsQuadPoints.hxx in Headers */,
BE8C37041DB50FB500919468 /* TransientSource.hpp in Headers */,
BE8C36F51DB50FB500919468 /* Mass.hpp in Headers */,
BE3444F72375A5D500639772 /* Microsphere.hpp in Headers */,
......@@ -12890,6 +12912,7 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
BE9E2E8524A22F4A00AA6678 /* GlobalCoordsQuadPoints.cpp in Sources */,
BE7C94751F604ED7003D2C52 /* MitchellSchaeffer.cpp in Sources */,
BE7D64D6235906D700A59EE3 /* P1_to_P2.cpp in Sources */,
BE7D64BC235906C500A59EE3 /* UpdateFiberDeformation.cpp in Sources */,
......@@ -12916,6 +12939,7 @@
BE7D64F4235906FB00A59EE3 /* SurfacicBidomain.cpp in Sources */,
BE7D64982359068200A59EE3 /* NonlinearMembrane.cpp in Sources */,
37014790203B15A700820FA4 /* CiarletGeymonatDeviatoric.cpp in Sources */,
BE9E2E7F24A22F3B00AA6678 /* GlobalCoordsQuadPoints.cpp in Sources */,
37014791203B15AB00820FA4 /* LogI3Penalization.cpp in Sources */,
BE7D64B9235906C500A59EE3 /* UpdateCauchyGreenTensor.cpp in Sources */,
BE7D650F2359070000A59EE3 /* GradPhiTauOrthoTauGradPhi.cpp in Sources */,
......@@ -33,9 +33,10 @@ namespace MoReFEM
/*!
* \brief Implementation of global \a GlobalCoordsQuadPoints operator.
* Given a quadrature rule, this operator computes the global coordinates of the quadrature points used by this
* rule on the relevant finite element space and stores them into a ParameterAtQuadraturePoint attribute.
* \brief Implementation of global \a GlobalCoordsQuadPoints operator.
*
* Given a quadrature rule, this operator computes the global coordinates of the \a QuadraturePoints used by this
* rule on the relevant finite element space and stores them into a \a ParameterAtQuadraturePoint attribute.
*/
class GlobalCoordsQuadPoints final
: public GlobalParameterOperator
......@@ -77,6 +78,7 @@ namespace MoReFEM
* \param[in] unknown Unknown considered for this operator (might be vector or vectorial).
* \param[in] quadrature_rule_per_topology Quadrature rule from which the global coordinates of the quadrature points
* will be computed.
* \param[in,out] global_coords_quad_pt \a Parameter to update.
*/
explicit GlobalCoordsQuadPoints(const FEltSpace& felt_space,
const Unknown& unknown,
......
......@@ -40,8 +40,7 @@ namespace MoReFEM
GlobalCoordsQuadPoints::~GlobalCoordsQuadPoints() = default;
const std::string& GlobalCoordsQuadPoints::ClassName()
{
......@@ -64,7 +63,8 @@ namespace MoReFEM
{
const auto& quad_pt = infos_at_quad_pt.GetQuadraturePoint();
auto functor = [&geom_elt, &quad_pt, &global_quad_pt_coords_as_spatial_point](LocalVector& global_quad_pt_coords)
auto functor =
[&geom_elt, &quad_pt, &global_quad_pt_coords_as_spatial_point](LocalVector& global_quad_pt_coords)
{
assert(global_quad_pt_coords.size() == global_quad_pt_coords_as_spatial_point.GetCoordinateList().size());
......
Markdown is supported
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