[FEM] [skip ci] fine-tune FEM function filter

- just for consistency use always the form "x.0"
This commit is contained in:
Uwe
2023-03-09 02:22:47 +01:00
parent 088f51632b
commit 0d77da1c81
2 changed files with 11 additions and 11 deletions

View File

@@ -111,8 +111,8 @@ FemPostPlaneFunction::FemPostPlaneFunction() : FemPostFunction() {
m_plane = vtkSmartPointer<vtkPlane>::New();
m_implicit = m_plane;
m_plane->SetOrigin(0., 0., 0.);
m_plane->SetNormal(0., 0., 1.);
m_plane->SetOrigin(0.0, 0.0, 0.0);
m_plane->SetNormal(0.0, 0.0, 1.0);
}
FemPostPlaneFunction::~FemPostPlaneFunction() {
@@ -145,14 +145,14 @@ PROPERTY_SOURCE(Fem::FemPostSphereFunction, Fem::FemPostFunction)
FemPostSphereFunction::FemPostSphereFunction() : FemPostFunction() {
ADD_PROPERTY(Radius, (5));
ADD_PROPERTY(Radius, (5.0));
ADD_PROPERTY(Center, (Base::Vector3d(1.0, 0.0, 0.0)));
m_sphere = vtkSmartPointer<vtkSphere>::New();
m_implicit = m_sphere;
m_sphere->SetCenter(0., 0., 0.);
m_sphere->SetRadius(5);
m_sphere->SetCenter(0.0, 0.0, 0.0);
m_sphere->SetRadius(5.0);
}
FemPostSphereFunction::~FemPostSphereFunction() {