GetFEM  5.4.2
bgeot::geotrans_inv_convex Class Reference

does the inversion of the geometric transformation for a given convex More...

#include <bgeot_geotrans_inv.h>

Public Member Functions

bool invert (const base_node &n, base_node &n_ref, scalar_type IN_EPS=1e-12, bool project_into_element=false)
 given the node on the real element, returns the node on the reference element (even if it is outside of the ref. More...
 
bool invert (const base_node &n, base_node &n_ref, bool &converged, scalar_type IN_EPS=1e-12, bool project_into_element=false)
 given the node on the real element, returns the node on the reference element (even if it is outside of the ref. More...
 

Detailed Description

does the inversion of the geometric transformation for a given convex

Definition at line 64 of file bgeot_geotrans_inv.h.

Member Function Documentation

◆ invert() [1/2]

bool bgeot::geotrans_inv_convex::invert ( const base_node n,
base_node n_ref,
scalar_type  IN_EPS = 1e-12,
bool  project_into_element = false 
)

given the node on the real element, returns the node on the reference element (even if it is outside of the ref.

convex).

If the geometric transformation is not invertible at point n, an exception is thrown.

Returns
true if the n is inside the convex
Parameters
nnode on the real element
n_refcomputed node on the reference convex
IN_EPSa threshold.

Definition at line 61 of file bgeot_geotrans_inv.cc.

◆ invert() [2/2]

bool bgeot::geotrans_inv_convex::invert ( const base_node n,
base_node n_ref,
bool &  converged,
scalar_type  IN_EPS = 1e-12,
bool  project_into_element = false 
)

given the node on the real element, returns the node on the reference element (even if it is outside of the ref.

convex).

This version will not throw an exception if the geometric transformation is not invertible at point n.

Returns
true if the n is inside the convex
Parameters
nnode on the real element
n_refcomputed node on the reference convex
convergedon output, will be set to true if the geometric transformation could be inverted.
IN_EPSa threshold.

Definition at line 68 of file bgeot_geotrans_inv.cc.


The documentation for this class was generated from the following files:

Rabisu Mirror Service We provide mirrors to support Open source communities. Our mirror server is located in Istanbul/Turkey region.

Please do not hesitate to contact mirror@rabisu.com for new open source mirror submissions.