mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
clang-format: Set column width to 140
* Set column width to 140 * Use c++20 * Remove redundant virtual
This commit is contained in:
@@ -50,20 +50,12 @@ public:
|
||||
RivTensorResultPartMgr( RimGeoMechView* reservoirView );
|
||||
~RivTensorResultPartMgr() override;
|
||||
|
||||
void appendDynamicGeometryPartsToModel( cvf::ModelBasicList* model,
|
||||
int viewerStepIndex,
|
||||
int localTimeStepIndex,
|
||||
int frameIndex ) const;
|
||||
void appendDynamicGeometryPartsToModel( cvf::ModelBasicList* model, int viewerStepIndex, int localTimeStepIndex, int frameIndex ) const;
|
||||
|
||||
private:
|
||||
struct TensorVisualization
|
||||
{
|
||||
TensorVisualization( cvf::Vec3f vertex,
|
||||
cvf::Vec3f result,
|
||||
cvf::Vec3f faceNormal,
|
||||
bool isPressure,
|
||||
int princial,
|
||||
float principalValue )
|
||||
TensorVisualization( cvf::Vec3f vertex, cvf::Vec3f result, cvf::Vec3f faceNormal, bool isPressure, int princial, float principalValue )
|
||||
: vertex( vertex )
|
||||
, result( result )
|
||||
, faceNormal( faceNormal )
|
||||
@@ -80,17 +72,15 @@ private:
|
||||
};
|
||||
|
||||
private:
|
||||
static void calculateElementTensors( const RigFemPart& part,
|
||||
const std::vector<caf::Ten3f>& vertexTensors,
|
||||
std::vector<caf::Ten3f>* elmTensors );
|
||||
static void
|
||||
calculateElementTensors( const RigFemPart& part, const std::vector<caf::Ten3f>& vertexTensors, std::vector<caf::Ten3f>* elmTensors );
|
||||
|
||||
static void calculatePrincipalsAndDirections( const std::vector<caf::Ten3f>& tensors,
|
||||
std::array<std::vector<float>, 3>* principals,
|
||||
std::vector<std::array<cvf::Vec3f, 3>>* principalDirections );
|
||||
|
||||
static cvf::Vec3f calculateFaceNormal( const RigFemPartNodes& nodes,
|
||||
const std::vector<size_t>& quadVerticesToNodeIdxMapping,
|
||||
int quadVertex );
|
||||
static cvf::Vec3f
|
||||
calculateFaceNormal( const RigFemPartNodes& nodes, const std::vector<size_t>& quadVerticesToNodeIdxMapping, int quadVertex );
|
||||
|
||||
cvf::ref<cvf::Part> createPart( const std::vector<TensorVisualization>& tensorVisualizations ) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user